ajout config

master
Mathieu 4 years ago
parent 2a68fae9a1
commit ba41708531

@ -33,8 +33,7 @@ http {
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
#gzip on;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
@ -46,8 +45,8 @@ server {
root /usr/local/www/blog.aumont.fr/htdocs;
index index.php;
access_log /var/log/nginx/example.log;
error_log /var/log/nginx/example.log;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
location ~ \.(jpg|jpeg|gif|png|css|js|ico|svg|eot|ttf|woff|woff2|otf)$ {
access_log off;

Loading…
Cancel
Save