Update documentation for nginx config

main
Bob Mottram 2020-06-06 10:53:42 +01:00
parent 5facbdccdd
commit dcee624ee4
2 changed files with 20 additions and 0 deletions
gemini/EN
website/EN

View File

@ -126,6 +126,16 @@ And paste the following:
proxy_buffering on; proxy_buffering on;
proxy_cache my_cache; proxy_cache my_cache;
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504; proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
location ~ ^/icons/(.*)/(like|repeat|calendar)(.*).png {
expires epoch;
proxy_no_cache 1;
proxy_pass http://localhost:7156;
}
location ~ ^/icons/(like|repeat|calendar)(.*).png {
expires epoch;
proxy_no_cache 1;
proxy_pass http://localhost:7156;
}
proxy_pass http://localhost:7156; proxy_pass http://localhost:7156;
} }
} }

View File

@ -1406,6 +1406,16 @@
proxy_buffering on;<br> proxy_buffering on;<br>
proxy_cache my_cache;<br> proxy_cache my_cache;<br>
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;<br> proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;<br>
location ~ ^/icons/(.*)/(like|repeat|calendar)(.*).png {<br>
expires epoch;<br>
proxy_no_cache 1;<br>
proxy_pass http://localhost:7156;<br>
}<br>
location ~ ^/icons/(like|repeat|calendar)(.*).png {<br>
expires epoch;<br>
proxy_no_cache 1;<br>
proxy_pass http://localhost:7156;<br>
}<br>
proxy_pass http://localhost:7156;<br> proxy_pass http://localhost:7156;<br>
}<br> }<br>
} }