Update nginx.md

In the spirit of discoverability and least surprise, primary custom template example mirrors nginx.conf generated by default.
This commit is contained in:
Augusts Bautra
2016-05-12 18:45:07 +03:00
parent 68fb0e7b98
commit ea240f117e

View File

@@ -39,6 +39,13 @@ server {
# set a custom header for requests
add_header X-Served-By www-ec2-01;
gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/x-javascript application/json application/xml application/rss+xml font/truetype application/x-font-ttf font/opentype application/vnd.ms-fontobject image/svg+xml;
gzip_vary on;
gzip_comp_level 6;
location / {
proxy_pass http://{{ .APP }};