Use safer nginx configuration.

fix #64
This commit is contained in:
Antoine Nguyen
2017-01-17 15:36:40 +01:00
parent 6f89a86f64
commit f2eb1bc007

View File

@@ -28,11 +28,11 @@ server {
error_log /var/log/nginx/%{hostname}-error.log; error_log /var/log/nginx/%{hostname}-error.log;
location /sitestatic/ { location /sitestatic/ {
autoindex on; try_files $uri $uri/ =404;
} }
location /media/ { location /media/ {
autoindex on; try_files $uri $uri/ =404;
} }
location / { location / {