Can't make sub-paths work #14
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Alfredolin/WebPrint#14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
URL: https://domain.com/printer
My docker-compose:
My nginx relevant section:
In the logs i see:
and in borwser i get a 404 page not found, from the app itself (not from nginx).
Local access (127.0.0.1:3311/printer/) works
I see in browser debug window that there is a GET to https://domain.com/printer/login and this is the 404
Some app logs for the tests i did:
Your nginx config should put "printer" in the path too, as per README.md.
Try again with:
Ok i managed to fix my NGINX setup:
it is to be noted where the "/" goes, or better, must be avoided. This is a quick of NGINX setup, but pretty annoying. It probably stems from something inside the webprint app, because the above setup just works for a lot of other service. But it's ok, maybe you could add the nginx setup to the readme as well.
Very good, writing previous comment I was also wondering about trailing slashes, but did not have the time to check it through.
I'll add it to the README.md, thank you!