diff options
Diffstat (limited to 'roles/nginx/files/default')
-rw-r--r-- | roles/nginx/files/default | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/nginx/files/default b/roles/nginx/files/default new file mode 100644 index 0000000..2b909ce --- /dev/null +++ b/roles/nginx/files/default @@ -0,0 +1,16 @@ +server { + listen 80 default_server; + listen [::]:80 default_server; + + include snippets/common.conf; + + root /var/www/html; + + index index.html index.htm index.nginx-debian.html; + + server_name _; + + location / { + try_files $uri $uri/ =404; + } +} |