Skip to content

Commit

Permalink
fix includes
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Sep 28, 2022
1 parent 1245596 commit b3e2293
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions files/etc/nginx/geoipme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion files/etc/nginx/include/assets.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit b3e2293

Please sign in to comment.