We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7138e commit a4b7e2dCopy full SHA for a4b7e2d
config/nginx.conf
@@ -21,6 +21,14 @@ http {
21
22
server_tokens off;
23
24
+ # Enable gzip compression
25
+ gzip on;
26
+ gzip_disable "msie6";
27
+ gzip_proxied any;
28
+
29
+ gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
30
31
32
# Forward the cloudfront scheme from upstream
33
map $http_cloudfront_forwarded_proto $forwarded_scheme {
34
default off;
@@ -58,7 +66,6 @@ http {
58
66
}
59
67
60
68
location = /robots.txt {
61
- allow all;
62
69
log_not_found off;
63
70
access_log off;
64
71
0 commit comments