17 lines
444 B
Plaintext
17 lines
444 B
Plaintext
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 / {
|
|
try_files $uri @{{app_name}}_app;
|
|
}
|
|
location @{{app_name}}_app {
|
|
# TODO: Find way to stitch together templates.
|
|
}
|
|
} |