Replies: 1 comment 2 replies
-
|
Hi @keunes, typically for setups I recommend exposing both the frontend and backend services on separate subdomains/ports to make it clear. This will clear any confusion and make it a simpler config. Let me know if you have any questions! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've recently set up AdventureLog using Docker compose, with Nginx running bare metal on my RaspberryPi. I've got it working, but have this issue:
When clicking on the 'Admin panel' link I get redirected to
http://localhost:48644/admin/which doesn't work because I'm not accessing from localhost.I suppose this link is coming from the server/backend's
PUBLIC_URLenvironment variable, which currently has the valuehttp://localhost:48644However, when I change the server/backend's
PUBLIC_URLto be the front-end'sORIGINwhich ishttps://adventures.mydomain.nlin my case, then when opening https://adventures.mydomain.nl I get a '500' error.From comments like #639 (reply in thread) and #361 (reply in thread) I get the impression that I either need to set up port forwarding for the back-end or set up a dedicated back-end domain. Both I would like to avoid, because it'd mean I would have to manage additional ports on my router or manage additional domains in my nameserver and Nginx.
Is there any way to work around this?
Beta Was this translation helpful? Give feedback.
All reactions