14 lines
502 B
Django/Jinja
14 lines
502 B
Django/Jinja
# If the OpenStack service has an API that runs behind uwsgi+nginx, you'll need
|
|
# to define this template. Be sure to update "listen" with the port number and
|
|
# also update "api-name" for the socket.
|
|
server {
|
|
listen {{ dashboard_port }};
|
|
error_log syslog:server=unix:/dev/log;
|
|
access_log syslog:server=unix:/dev/log;
|
|
location / {
|
|
include {{ snap }}/usr/conf/uwsgi_params;
|
|
uwsgi_param SCRIPT_NAME '';
|
|
uwsgi_pass unix://{{ snap_common }}/run/horizon.sock;
|
|
}
|
|
}
|