Skip to content
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

Setting up freescout behind Nginx proxy not working #502

Closed
PatrickFranken opened this issue Feb 25, 2020 · 6 comments
Closed

Setting up freescout behind Nginx proxy not working #502

PatrickFranken opened this issue Feb 25, 2020 · 6 comments

Comments

@PatrickFranken
Copy link

Our setup is using dockerized Freescout behind a Nginx proxy which is used to terminate all incoming HTTPS connections. Site URL is set to https://freescout.our-proxy.com

If we open up the login page the HTML form redirects to
http://freescout.our-proxy.com
which Firefox complains about not being secure.

How do we set this properly?

@PatrickFranken
Copy link
Author

PatrickFranken commented Feb 26, 2020

We already checked this setting and it is properly set to the HTTPS address. Also addresses linking to the CSS assets and such are all correct. Only place where it is still wrong is the login form. As it send data to HTTP the login fails.
Also APP_FORCE_HTTPS set to true does not help as this redirects endless.

@PatrickFranken
Copy link
Author

Any chance to get this working? Would be happy to provide any further details. Please also see attached screenshot.
Screenshot 2020-03-02 at 15 23 33

@tiredofit
Copy link

You may be using my Docker image. (tiredofit/freescout).

I have a production and dev install working fine using a reverse proxy.
These environment variables should get you going:

      - SITE_URL=https://freescout.example.com ## make sure this has https:// in it
      - ENABLE_SSL_PROXY=TRUE

Otherwise if no go, bring it over to my github repository for the image itself and I will work through it there.

@freescout-helpdesk
Copy link
Owner

Closing for no activity.

@freescout-helpdesk
Copy link
Owner

#887

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants