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 809ded5 commit 126a86bCopy full SHA for 126a86b
conf/cache_control
@@ -0,0 +1,2 @@
1
+#cache control
2
+# https://worldviewstory.tistory.com/entry/Nginx-%EC%BA%90%EC%8B%9C-%EC%84%A4%EC%A0%95-%EC%86%8D%EB%8F%84-%ED%96%A5%EC%83%81-%EB%B0%A9%EB%B2%95
conf/nginx.conf
@@ -29,8 +29,16 @@ http {
29
30
#keepalive_timeout 0;
31
keepalive_timeout 65;
32
-
33
- #gzip on;
+
+ # https://blog.lael.be/post/5917 => modify
34
+ # gzip start
35
+ gzip on;
36
+ gzip_min_length 10240;
37
+ gzip_buffers 32 32k;
38
+ gzip_comp_level 9;
39
+ gzip_types text/plain application/javascript text/xml text/css application/json text/plain application/rss+xml application/atom+xml;
40
+ gzip_vary on;
41
+ # gzip end
42
43
server {
44
listen 80;
0 commit comments