forked from indymedia/epicyon
Update documentation for nginx config
parent
5facbdccdd
commit
dcee624ee4
gemini/EN
website/EN
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue