e0619f17f1
We don't run start in prod normally but we do need to run it in the gate. Change-Id: Iec50684280409eb978bf5638bf74ae16fad8aa26
20 lines
607 B
Django/Jinja
20 lines
607 B
Django/Jinja
<VirtualHost *:80>
|
|
ServerName {{ inventory_hostname }}
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/nodepool-error.log
|
|
LogLevel warn
|
|
CustomLog ${APACHE_LOG_DIR}/nodepool-access.log combined
|
|
ServerSignature Off
|
|
|
|
<IfModule mod_deflate.c>
|
|
SetOutputFilter DEFLATE
|
|
</IfModule>
|
|
|
|
RewriteEngine on
|
|
RewriteRule ^/image-list$ http://127.0.0.1:8005/image-list [P]
|
|
RewriteRule ^/dib-image-list$ http://127.0.0.1:8005/dib-image-list [P]
|
|
RewriteRule ^/image-list.json$ http://127.0.0.1:8005/image-list.json [P]
|
|
RewriteRule ^/dib-image-list.json$ http://127.0.0.1:8005/dib-image-list.json [P]
|
|
|
|
</VirtualHost>
|