You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
This is our Nginx proxy config. We are using Nginx to provide SSL termination.
location /thredds/ {
proxy_pass http://thredds:8080/thredds/;
proxy_set_header Host $host; # pass the original public hostname to Thredds
proxy_set_header X-Forwarded-Proto $scheme; # pass the original httpS proto to Thredds
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # pass the original client IP to Thredds
}
We are using docker image unidata/thredds-docker:4.6.14.
What we found out is Thredds is ignoring the X-Forwarded-Proto http header and the X-Forwarded-For http header as well since in the logs, we only see IP of our Nginx proxy.
Below we see the IP 172.21.0.1 which is the Nginx proxy, not the real client IP requesting data from Thredds. It's the same IP everywhere.