natepichler
Dabbler
- Joined
- Feb 14, 2022
- Messages
- 11
Hi all,
I have configured nginx in a jail with all the proper certificates and configuration files. Ngnix redirects all http requests to https.
The issue I'm having is that I can only seem to redirect to urls that have ports specified.
For example, in my vdomain config file,
Let's say my truenas machine IP is
Any insight on this? I want to make sure I'm accessing my jails in a secure way.
Thanks :)
TrueNAS Version: 12.0-U8
Reverse Proxy: 12.3-RELEASE-p2
I have configured nginx in a jail with all the proper certificates and configuration files. Ngnix redirects all http requests to https.
The issue I'm having is that I can only seem to redirect to urls that have ports specified.
For example, in my vdomain config file,
proxy_pass http://192.168.0.100;
will not redirect to my apps web ui from outside my network. However, on my local network, http://192.168.0.100
redirects properly. For another app though, proxy_pass http://192.168.0.200:8081;
will redirect properly to that web ui. Both of the config files are identical other than the proxy_pass IP.Let's say my truenas machine IP is
192.168.0.50
. Nginx wont redirect to the web ui with that address, but if I change the https port for the web interface from 443 to something else like 9000 and change the config file to proxy_pass http://192.168.0.50:9000;
, it redirects to the web ui.Any insight on this? I want to make sure I'm accessing my jails in a secure way.
Thanks :)
TrueNAS Version: 12.0-U8
Reverse Proxy: 12.3-RELEASE-p2