[Bug]: Not redirected to APP_URL post-login (subpath) #17860
-
Snipe-IT Versionv8.3.1 - build 19577 (master) MySQL/MariaDB versionmariadb 10.11 How did you install Snipe-IT?Git install What happened?Possibly related to #12772? I host Snipe-IT on a subpath (against recommendations, but I unfortunately have very silly environment restrictions) behind an nginx reverse proxy. I've only encountered one minor navigation issue with a very specific trigger: the post-login redirect after navigating directly to
To reproduce:
I'm correctly redirected to
[No active session]
nginx config:
What browsers are you seeing the problem on?No response Application log outputBrowser console outputCommon Issues
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The APP_URL must be the actual URL you access it from in the browser. |
Beta Was this translation helpful? Give feedback.
-
I'm so sorry for wasting your time, I fixed this in the nginx config:
nginx config:
|
Beta Was this translation helpful? Give feedback.
I'm so sorry for wasting your time, I fixed this in the nginx config:
APP_URL=https://$host/snipe-it # No trailing slash
nginx config:
/snipe-it
must be redirected to/snipe-it/