snap-nova/snap/templates/nova-nginx.conf.j2
Corey Bryant 86e6d6d8ed Enable override of config files and drop copyfiles
Enable the ability for default config files to be overridden for each
entry point type (simple, uwsgi, and nginx).

Also refresh the README while documenting how default config files can
be overridden.

Finally, drop copyfiles from snap-openstack.yaml for nginx, and modify
the nginx template files such that we can install them in $SNAP_COMMON
while pointing them at additional default config files in $SNAP.

Change-Id: Ia4496aa593d7e695c2451153c12c3dfd0c2ee989
2017-06-05 11:00:10 -04:00

11 lines
313 B
Django/Jinja

server {
listen 8778;
access_log {{ snap_common }}/log/nginx-access.log;
error_log {{ snap_common }}/log/nginx-error.log;
location / {
include {{ snap }}/usr/conf/uwsgi_params;
uwsgi_param SCRIPT_NAME '';
uwsgi_pass unix://{{ snap_common }}/run/placement-api.sock;
}
}