Extra cache control

main
Bob Mottram 2020-06-08 14:05:35 +01:00
parent 7b583a0c65
commit 690b673d1a
2 changed files with 12 additions and 6 deletions

View File

@ -114,6 +114,9 @@ And paste the following:
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forward-Proto http;
proxy_set_header X-Nginx-Proxy true;
expires 7;
proxy_set_header Pragma public;
proxy_set_header Cache-Control "public";
proxy_temp_file_write_size 64k;
proxy_connect_timeout 10080s;
proxy_send_timeout 10080;

View File

@ -1394,6 +1394,9 @@
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 7;<br>
proxy_set_header Pragma public;<br>
proxy_set_header Cache-Control "public";<br>
proxy_temp_file_write_size 64k;<br>
proxy_connect_timeout 10080s;<br>
proxy_send_timeout 10080;<br>