Add server configuration playbook
This commit is contained in:
@ -5,8 +5,10 @@ server {
|
||||
location / {
|
||||
root {{ nginx_conf_root }};
|
||||
index index.html;
|
||||
try_files $uri /index.html;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
{% if not nginx_conf_sendfile|default(true) %}
|
||||
sendfile off;
|
||||
{% endif %}
|
||||
}
|
||||
|
Reference in New Issue
Block a user