-
Notifications
You must be signed in to change notification settings - Fork 10
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
Configure the app URL #36
Comments
Sounds like the - simple_server(app, port=2244)
+ from .. import config
+
+ simple_server(app, port=config.PORT || 2244, prefix=config.PREFIX || null) Something like this? |
Hey, so it seems that the So I believe we would have to fix this in the It might not be enough, as in some places the the "hostname" HTTP header is used to build the URL. Clearly not the way to go. I'll try to have a look at this tomorrow :-) |
This should be fixed with 6a9d944. Did that worked for you? |
It totally works! Thank you so much :) |
Given the following nginx configuration:
When I go to
http:https://localhost/copanier/
, the app redirects me tohttp:https://localhost/connexion?next=/
— instead of the expectedhttp:https://localhost/copanier/connexion?next=/
.I'm not yet sure where the problem happens, in the app itself, or Nginx.
The text was updated successfully, but these errors were encountered: