Hi! I’ve been testing the latest Indico version (3.0) and found that on my instance the registration form of my example event is forcing http instead of https.
If you access this link ( Evento em Portugal (29 de agosto de 2021) · Indico ) from Chrome, you can see a small box that says the form is not secure. When I look to the source code of this very page, I see that the endpoint points to an HTTP URL.
It seems that’s something about how Angular generates the URL. Other parts of Indico don’t behave like this.
I see http:// URLs on https://indico.sedir.io as well. Is your BASE_URL correct? If you have a loadbalancer in front of Indico, does it send the X-Forwarded-Proto header and do you have USE_PROXY = True in indico.conf?
Thanks! Before you pointed it out, for me to be able to use Indico I had to do a bit of hack and disable the URL checking at web/flask/app.py by commenting out few lines.
Well, I undone that hack and set USE_PROXY=True, but it still doesn’t recognize the right protocol, since I’m using https. Also looking at the config file you linked, I decided to remove the SERVICE_PORT as it seemed optional and I’m using the default port.
This is the log from the application:
indico-web_1 Received request with invalid url root for http://indico.sedir.io/
SERVICE_PROTOCOL in .env and proxy_set_header X-Forwarded-Proto in nginx appears to be set correctly. Is there any other check place where it might be getting the protocol?