TrueNAS 12 FAMP apache redirect

yags

Cadet
Joined
Feb 23, 2018
Messages
4
I am getting an unexpected apache redirect from a FAMP plugin install.

My base TRUENAS system resides at IP 192.168.81.251
trunenas251.png


I installed the FAMP plugin in a jail "webserver".
I assigned the plugin jail IP 192.168.81.244.

I started the jail and went to http://192.168.81.244 and I get the "It Works!" page.
http244.png


My problem is that when I use https instead of http on the jails IP address, I get redirected to the basesystem ui login screen, but with the jails IP!

https244.png


I can log into the jails ui page using my base systems user ID and password and have access to the Full storage pool and system.
Note the IP is for the jail and not the base system.
login244.png



Is this redirection supposed to happen, or do I have something misconfigured?
I have done this 3 times, deleting the old jail and reinstalling with a different IP address, thinking that I had done something wrong.
Each time I get the same behavior.

Thanks
Yags
 

yags

Cadet
Joined
Feb 23, 2018
Messages
4
Update:

This appears to be an nginx issue, not apache.

One of the plugins must have changed my nginx.conf file as it differs from the nginx.conf-base. I commented out the https:// server on port 443 in nginx.conf and now the TrueNAS user interface appears on http://192.168.81.251 and the FAMP plugin "It works!" shows up on http://192.168.81.244. Nothing is available using https.

While http is not ideal, it is better than redirecting the outside world to my TrueNAS login page with https.
 
Top