mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-30 17:43:44 +00:00
More cache refinement
This commit is contained in:
1 parent
79a1dab559
commit
5e5ebfb201
2 files changed
+12
-6
No files matched your search
@@ -1394,9 +1394,8 @@
|
||||
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;<br>
|
||||
proxy_set_header X-Forward-Proto http;<br>
|
||||
proxy_set_header X-Nginx-Proxy true;<br>
|
||||
expires 7d;<br>
|
||||
proxy_set_header Pragma public;<br>
|
||||
proxy_set_header Cache-Control "public";<br>
|
||||
expires epoch;<br>
|
||||
proxy_no_cache 1;<br>
|
||||
proxy_temp_file_write_size 64k;<br>
|
||||
proxy_connect_timeout 10080s;<br>
|
||||
proxy_send_timeout 10080;<br>
|
||||
@@ -1409,6 +1408,10 @@
|
||||
proxy_buffering on;<br>
|
||||
proxy_cache my_cache;<br>
|
||||
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;<br>
|
||||
location ~ ^/(icons|images|media|emoji)/(.*)/(.*).png {<br>
|
||||
expires 7d;<br>
|
||||
proxy_pass http://localhost:7156;<br>
|
||||
}<br>
|
||||
location ~ ^/icons/(.*)/(like|repeat|calendar)(.*).png {<br>
|
||||
expires epoch;<br>
|
||||
proxy_no_cache 1;<br>
|
||||
|
||||
Reference in new issue
Block a user