-
Notifications
You must be signed in to change notification settings - Fork 294
Closed
Description
Apologies for asking here first should not be considered the proper place.
I've got a webapp deployed coupled with nginx, the later for handling https and serving static content. Nothing fancy the nginx conf boils down to:
server {
listen 443 ssl ;
server_name myapp.local;
location /static {
root /home/www/myapp/static ;
}
location / {
proxy_pass http://myapp.local:5000/ ;
}
}
The problem is that every single account confirmation email redirects to:
- http:// and not the secure version
- the local service host
- the port number...
I've tried fiddling with theSERVER_NAME
Flask config var or even hardcoded parameters inFlask.run()
method but someone Flask-User always manages to find the hostname and port where the app is running....
So the question is: what is the easiest way of modifying the confirm_mail_link variable in the confirm_email_link
so that it points where I want to?
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels