Giles Bradshaw 1 year ago
parent
commit
fe75e5ff3a
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      letsencrypt-nginx/conf/git.conf

+ 5
- 0
letsencrypt-nginx/conf/git.conf View File

@@ -154,6 +154,11 @@ server {
location ~ ${MATOMO_LOCATION}(.*) {
resolver 127.0.0.11 ipv6=off valid=30s; ## internal docker dns
set ${DOLLAR}upstream ${MATOMO_PROXY_PASS}${DOLLAR}1${DOLLAR}is_args${DOLLAR}args;
proxy_set_header Host ${DOLLAR}http_host;
proxy_set_header X-Real-IP ${DOLLAR}remote_addr;
proxy_set_header X-Forwarded-For ${DOLLAR}proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto ${DOLLAR}scheme;
proxy_buffering off;
proxy_pass ${DOLLAR}upstream;
}