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.

[thredds] Thredds behind Nginx reverse proxy server

  • To: "support-thredds@xxxxxxxxxxxxxxxx" <support-thredds@xxxxxxxxxxxxxxxx>, "thredds@xxxxxxxxxxxxxxxx" <thredds@xxxxxxxxxxxxxxxx>
  • Subject: [thredds] Thredds behind Nginx reverse proxy server
  • From: "Vu , Long" <vu.long@xxxxxxxxxx>
  • Date: Mon, 16 Sep 2019 21:09:29 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ouranos.ca; dmarc=pass action=none header.from=ouranos.ca; dkim=pass header.d=ouranos.ca; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ExKX/FuBS+SZuPPVmm5RpksqQJ3FP6jLHqNv00SZWFY=; b=aYkDxRvC6JzKkPcC0TiGq7cfPp8endm3T29mvy/1oFn+iRxKi9qfMxgGEraV6fdvOqnRmZEXddMveoitrczNN0+ZuKH4xS0yf/f7s86ih3T+4YeVqagHGCrqJnv9Sdr1JOAzmmidwWo2pDm6KApRE7kAZEhdSzF8XWbLeSinJ7bRbS5se5kXM7NFTutL93MveKHCcLA+6gy5YhDrYV94/RLHIrUK7QDPv6JbeT6Rz0gncYQvOJgdf5q2LxZWUXDLKt2cP2H725x9cQqn/xzUREgrJAOxsVAr1gx8hwl+oXqGNAJCjlf+Ys9PNAALJmBdX52WMAWMkv177nTTbJMRVA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YyM3wPwmxGvtPmtF4VWtdw3cjprpSXRTc8L18T88Rvokr3WF4lSInheiPfQPJNH8519btbNH3ewTaNzdfp/rwIMpiRgTLxQsIfUozhbW9O7lVeLsL8MFgkA28w6rUI4uTniEbv3pgU7gN8uGlB6pw9OdtSxALlFBhD+ob+gLycjYumaoukhBJUhsJJLQVLluaqpuReePlYTnWg9jhRyqtcjBJiUylFBIKqk53p8G34HVUZGyILuLN5CpAIxt0sIz6V55wXExiU5k6Ej2pat/SOrpSJjHNefJgVu9OSVKVAKws7qIkt66v0i/Y7va5bqpOeD99AuUW1a4JzQ+OVAH9g==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vu.long@xxxxxxxxxx;
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
  • 2019 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: