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

Added support to do reverse proxy over https while proxy_pass over http #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ulrhol
Copy link

@Ulrhol Ulrhol commented Aug 31, 2018

I'm using docket on a server with multiple web services. Instead of having different ports I set them up to different URIs on the same server using nginx as reverseproxy. I prefer all traffic outside of the box on HTTPS but don't want that for proxy_pass. This snippet is borrowed from http://flask.pocoo.org/snippets/35/ and allow redirects to work while maintaining HTTPS.

@dcode
Copy link
Member

dcode commented Feb 21, 2019

@Ulrhol sorry to take so long getting back to this. Are you using this with nginx? it's not clear to me how you would differentiate these configs.

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

Successfully merging this pull request may close these issues.

2 participants