NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [thredds] Thredds behind Nginx reverse proxy server

  • To: "Vu , Long" <vu.long@xxxxxxxxxx>
  • Subject: Re: [thredds] Thredds behind Nginx reverse proxy server
  • From: Sean Arms <sarms@xxxxxxxx>
  • Date: Mon, 16 Sep 2019 18:17:32 -0600
Greetings!

We don't run nginx here at Unidata, so I'm not certain about the details,
but perhaps this will be of help?

https://github.com/USGS-CMG/usgs-cmg-portal/issues/223

Not sure if the above needs augmented with the following to work with the
godiva2 client shipped with ncWMS:

https://github.com/Unidata/thredds/issues/982

If you do get something working and would like to contribute some
documentation, I'm sure it'd be greatly appreciated by many!

Cheers,

Sean


On Mon, Sep 16, 2019 at 6:09 PM Vu , Long <vu.long@xxxxxxxxxx> wrote:

> Hi,
>
> I've found the page about Running The TDS Behind a Proxy Server
> (
> https://www.unidata.ucar.edu/software/tds/current/reference/TomcatBehindProxyServer.html
> ).
>
> It shows configurations for when Thredds is behind Apache reverse proxy
> server.
>
> There are no configurations for when Thredds is behind Nginx reverse
> proxy server.
>
> I've tried
>
>       location /thredds/ {
>         proxy_pass http://internal_host/thredds/;
>         proxy_set_header Host $host;
>         proxy_set_header X-Real-IP $remote_addr;
>         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>         proxy_set_header X-Forwarded-Proto $scheme;
>       }
>
> What else I have to set in my Nginx config?
>
> Thanks,
> Long
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> https://www.unidata.ucar.edu/mailing_lists/
>
  • 2019 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: