Skip to content
Snippets Groups Projects
Commit c78fc9ce authored by egon w. stemle's avatar egon w. stemle :robot:
Browse files
parent db2a4e31
No related branches found
No related tags found
No related merge requests found
...@@ -19,37 +19,51 @@ http { ...@@ -19,37 +19,51 @@ http {
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" ' set_real_ip_from 10.12.0.0/16;
# '$status $body_bytes_sent "$http_referer" ' real_ip_header X-Forwarded-For;
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main; # equiv to the predefined "combined" format:
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent"';
sendfile on; access_log logs/access.log main;
#tcp_nopush on;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0; #keepalive_timeout 0;
keepalive_timeout 65; keepalive_timeout 65;
gzip on; # We try to compress on the far-back end and hope it will pass the ingress unharmed
gzip_disable "msie6"; # (and is still helpful)
gzip on;
gzip_comp_level 6; gzip_comp_level 5;
gzip_min_length 1100; gzip_http_version 1.1;
gzip_buffers 16 8k; gzip_min_length 1024;
gzip_proxied any; gzip_proxied any;
gzip_vary on;
gzip_disable "msie6";
gzip_types gzip_types
text/plain application/atom+xml
text/css
text/js
text/xml
text/javascript
application/javascript application/javascript
application/x-javascript application/x-javascript
application/json application/json
application/xml
application/rss+xml application/rss+xml
image/svg+xml; application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/svg+xml
image/x-icon
text/css
text/javascript
text/js
text/plain
text/xml
text/x-component;
include default-ssl; include default-ssl;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment