Skip to content

Instantly share code, notes, and snippets.

@florianmartens
Last active May 1, 2021 02:29
Show Gist options
  • Save florianmartens/2332c17a5ec3ab74ceaaafec939c5e61 to your computer and use it in GitHub Desktop.
Save florianmartens/2332c17a5ec3ab74ceaaafec939c5e61 to your computer and use it in GitHub Desktop.
server {
listen 8080;
server_name nginx.test.com;
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_min_length 0;
gzip_types text/plain application/javascript text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype;
location / {
root /data/www;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment