set some resolve values
parent
c3822bb895
commit
d3fee438e4
|
@ -1,4 +1,5 @@
|
|||
location /highscore/ {
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
proxy_pass http://highscore:8080/;
|
||||
proxy_buffering off;
|
||||
proxy_http_version 1.1;
|
||||
|
|
|
@ -1,17 +1,7 @@
|
|||
location /map/ {
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
proxy_pass http://mapserver:8080/;
|
||||
#proxy_buffering off;
|
||||
#proxy_buffer_size 128k;
|
||||
#proxy_buffers 100 128k;
|
||||
#proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $http_connection;
|
||||
access_log off;
|
||||
|
||||
# kill cache (https://stackoverflow.com/questions/40243633/disable-nginx-cache-for-javascript-files/45285696)
|
||||
#add_header Last-Modified $date_gmt;
|
||||
#add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
|
||||
#if_modified_since off;
|
||||
#expires off;
|
||||
#etag off;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue