Open zpuskaric opened 4 days ago
Correction:
location /aAbBcC should be location /AaBbCc
fixed your formatting for you
this is an nginx issue and not a meshcentral issue
you should be using proxy_pass http://127.0.0.1:4443/
from what im aware
because it will pass /AaBbCc
to the backend when you visit it anyways
Bug (or feature) description: I decided to put MeshCentral behind nginx reverse proxy and under non-root base path like:
https://myhost.mydomain.org/AaBbCc
in nginx I was passing location:
in MeshCentral config.json i had:
I would get login screen but after logging I would get error 404.
Steps to reproduce:
put uppercase characters in base path in nginx config file (in this case AaBbCc)
Expected behavior:
To log into Meshcentral domain
Resolution:
After some time I noticed that returned URL converted all characters to lowercase and the request would not pass nginx.
After changing all AaBbCc paths to aabbcc in nginx and Meshcentral config files everything would work as expected.
Might help someone saving some time and head scratching.