[thredds] Thredds behind Nginx reverse proxy server

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