-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http to https in html #378
Comments
Have you tried changing the URL scheme in |
Hi and thanks for your reply, this is my current .env with https:// or am I misunderstanding something here
|
@C0pywriting I see you have the api on localhost, is that intentional? Also, what reverse proxy are you using? Edit: I will look into it and get back to you |
I use ha Proxy api and everything else works only the http unfortunately does not let the page load from external is there anything else that needs to be done for the .env to take effect? composer update and apache restart are done |
@C0pywriting aside from restarting the frontend, nothing that I know of. I'll try to replicate the issue and get back to you soon. |
@C0pywriting I've found the issue. The frontend is basically built to write paths the way it is given. So when using a proxy it gives the URI we gave to the proxy as an upstream. It's an easy fix but I can't test right now. I've added nginx to the docker stack, will update later to make proxying easier. Example: In nginx I proxied the frontend(https://socioboard.mydomain.example) to the container(http://socioboard:8000) and the resources were attempting to load from the http://socioboard:8000 URI. Edit: This should fix it on nginx, but I haven't tested.
Will look up haproxy when I have time. |
@C0pywriting Here is a sample for haproxy:
|
Hi i add to my reverse proxy the setting X_FORWARDED_PROTO.
And the error is gone. |
Where did I make a wrong turn that in the code of the website http is deposited. can mann change that?
The text was updated successfully, but these errors were encountered: