
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
11 lines
313 B
Django/Jinja
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;
|
|
}
|
|
}
|