Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
nginx domain subfolder path configuration
« previous
next »
Print
Pages: [
1
]
Author
Topic: nginx domain subfolder path configuration (Read 3907 times)
jezza007
Newbie
Posts: 17
Karma: 2
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
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: nginx domain subfolder path configuration
«
Reply #1 on:
November 23, 2022, 01:31:50 pm »
Hi
path prefix option allows to only add part of the path but not to delete..
if you need to cut "filemanager" from request then you need URL Rewrite imho
Logged
adson.junio
Newbie
Posts: 1
Karma: 0
Re: nginx domain subfolder path configuration
«
Reply #2 on:
July 24, 2023, 02:03:53 am »
Hi
Someone managed to solve this scenario by web NGINX Proxy UI Opnsense reverse?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
nginx domain subfolder path configuration