ansible-nginx-supervisor/templates/app_nginx.conf

17 lines
444 B
Plaintext
Raw Normal View History

server {
server_name {{ app_nginx_hostname }};
access_log {{ web_root_path }}/logs/nginx/{{ app_name }}-access.log;
error_log {{ web_root_path }}/logs/nginx/{{ app_name }}-error.log info;
location /static/ {
alias {{ app_nginx_static_path }};
}
location / {
2016-05-12 08:46:45 -04:00
try_files $uri @{{app_name}}_app;
}
2016-05-12 08:46:45 -04:00
location @{{app_name}}_app {
# TODO: Find way to stitch together templates.
}
}