17 lines
515 B
Plaintext
17 lines
515 B
Plaintext
server {
|
|
|
|
server_name {{ nsbase_app_nginx_hostname }};
|
|
access_log {{ nsbase_web_root_path }}/logs/nginx/{{ nsbase_app_name }}-access.log;
|
|
error_log {{ nsbase_web_root_path }}/logs/nginx/{{ nsbase_app_name }}-error.log info;
|
|
|
|
location /static/ {
|
|
alias {{ nsbase_app_nginx_static_path }};
|
|
}
|
|
|
|
location / {
|
|
try_files $uri @{{ nsbase_app_name }}_app;
|
|
}
|
|
location @{{ nsbase_app_name }}_app {
|
|
# Include your setup to connect to the webapp setup here.
|
|
}
|
|
} |