1
22.7 Legacy Series / nginx domain subfolder path configuration
« on: November 22, 2022, 09:31:19 pm »
Hi, if someone could help please, I have read the tutorial and successfully setup nginx with letsencrypt and the domain fqdn and base upstream server works perfectly on https://mydomain.com
I am trying to configure a second location which points to a second internal web service with a subfolder of the primary domain
https://mydomain.com/filemanger to point to another upstream server on https://192.168.1.5/
I have configured the second upstream location with (see screenshot)
URL pattern /filemanager/
path prefix /
so that when get https://mydomain.com/filemanager/ it directs to https://192.168.1.5/
It seems to start to load the page but then gets a 500 gateway timeout
Is this the correct way to configure for subfolders?
Thank you
I am trying to configure a second location which points to a second internal web service with a subfolder of the primary domain
https://mydomain.com/filemanger to point to another upstream server on https://192.168.1.5/
I have configured the second upstream location with (see screenshot)
URL pattern /filemanager/
path prefix /
so that when get https://mydomain.com/filemanager/ it directs to https://192.168.1.5/
It seems to start to load the page but then gets a 500 gateway timeout
Is this the correct way to configure for subfolders?
Thank you