nginx: disable access logging

This commit is contained in:
Denys Vuika
2018-12-05 18:24:46 +00:00
parent 998ec34896
commit 01a7a8efb6
2 changed files with 4 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ server {
proxy_pass_request_headers on; proxy_pass_request_headers on;
proxy_pass_header Set-Cookie; proxy_pass_header Set-Cookie;
access_log off;
location / { location / {
proxy_pass http://content-app; proxy_pass http://content-app;

View File

@@ -18,6 +18,8 @@ http {
gzip_proxied expired no-cache no-store private auth; gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript; gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
access_log off;
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }