diff --git a/files/etc/nginx/geoipme.conf b/files/etc/nginx/geoipme.conf index 1e0e9c7..127514d 100644 --- a/files/etc/nginx/geoipme.conf +++ b/files/etc/nginx/geoipme.conf @@ -8,4 +8,8 @@ location ~ /(geoip|geoipme)+/(?<ip>.*) { proxy_set_header X-Forwarded-For $realip; proxy_set_header Host "127.0.0.1"; proxy_pass "http://127.0.0.1:9081"; + + # disable caching for geoip + add_header Cache-Control 'no-store, no-cache'; + expires off; } diff --git a/files/etc/nginx/include/assets.conf b/files/etc/nginx/include/assets.conf index 07305fa..7dc353a 100644 --- a/files/etc/nginx/include/assets.conf +++ b/files/etc/nginx/include/assets.conf @@ -27,5 +27,5 @@ location ~* ^.*\.(css|js|jpe?g|gif|png|woff|eot|ttf|svg|ico|css\.map|js\.map)$ { expires @30m; access_log off; - include conf.d/include/proxy.conf; + include /etc/nginx/include/proxy.conf; } \ No newline at end of file