-
-
Notifications
You must be signed in to change notification settings - Fork 881
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
Add ssl_proxy variable #5
Conversation
Hmm, I see, this is not yet working as expected. The "proxy_pass" should be different on both servers... Have to go back to work and try it again... Sorry! |
I close this pull request and send a new (working) one! |
Oh, I see, my bugfix commits are in this pull request... =) Takes some time to understand how git/github works. The next time I will use branches, I promise. |
Hi! Thanks for this code. I'm not entirely following what this adds versus what the code already does. Would you be willing to share a use-case so I can see how this might play into the module? I'd certainly like to merge this in, but I'm not quite tracking yet. Let me know your thoughts! |
Let me know if you have an opportunity to reply to this comment. I haven't heard back from you. Happy to reopen if this is still an issue. Thanks! |
Hi, I'm sorry for this late answer =(
This creates two files with the different upstreams (/etc/nginx/conf.d/server_de-upstream.conf and /etc/nginx/conf.d/server_de_ssl-upstream.conf) and adds two different server blocks to vhost_autogen.conf which are using the different upstreams:
|
Hi,
I wanted to have a different upstream proxy on a ssl enabled vhost, so I added the variable ssl_proxy.
I hope I've done it correctly ("works-for-me") and it is usable for the rest of the world! If you like it, please merge it to your master...
Cheers,
Tobias
PS: This is my first pull request on github!
PS: And I'm also a git and puppet beginner =)