Closed BackedUpBooty closed 2 years ago
The behaviour you're describing isn't consistent with recent versions of the app. Can you please update to the latest version by fetching and pulling from the main
branch and let me know if you're still having the same issue?
Not sure how I was still on an older version but I guess I must have been. Did a --force-recreate --build
and it fixed it. Thanks for that.
Describe the bug When accessing the service behind a reverse proxy, trying to log in with magic link or creating a new poll comes up with an error. This doesn't happen when accessing it locally via http://ip:port. No errors or warnings are shown in logs, however the console is showing that the service is trying to access the api via the local http://ip:port address rather than the reverse proxy https URL (see screenshot below). The repo was cloned today, this is a fresh install.
The .env has the 32 character SECRET_PASSWORD, and the NEXT_PUBLIC_BASE_URL is set to the https subdomain I use.
To Reproduce Steps to reproduce the behavior:
Expected behavior Accessing the service via reverse proxy URL should attempt access to API via the reverse proxy, not local IP.
Screenshots
Docker Compose
Desktop (please complete the following information):