-
Notifications
You must be signed in to change notification settings - Fork 76
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
Documentation - example or discussion forum for proxy with straight ssl passthrough (maybe stream) #150
Comments
At a very basic/generic level, you can find sample playbooks under the Documentation is a (rather slow) WIP, but it's on the roadmap. For now, GitHub issues is the best place to ask configuration questions. |
Hi, this should be adressed now...i have a working config with 0.3.3 which i wanted to update to 0.6.0. i now have a week into it, but cannot get it to work... actually i dont get it. this is such a nice ansible role. but basically wasted, because i will avoid this now and write my configs again manually... |
That is sad to hear! I totally understand your reasoning and I'll hopefully be able to create better documentation sometime in the near future. The "core" NGINX role is pretty much there in terms of docs/distinct scenarios showing various use cases. I hope to move onto this role shortly after. |
I do hope "sometime in the neat future" happens soon. As is, I have two choices:
|
There is never going to be a very easy way to document how this template works. For now, I have added a few more test scenarios covering some of the more popular use cases (which should hopefully help a few folks out there), but that is obviously not enough. You are right though, you could create a simple template for your specific use case, but the template here is meant to cover all specific use cases. That being said, you can also use this role to:
You can do both of the above easily enough with your own Ansible tasks, so maybe that's the best path of action for your use case. Re your second point, Jinja2 is notoriously hard to debug, and there is no way to parse errors/raise exceptions without building custom exceptions/plugins/code or parsing all the variables beforehand within an Ansible task. Both options would require a rather extensive coding effort to properly implement. I have very limited bandwidth, and with some exceptions, most of the work done on these Ansible roles is done on a best effort basis on my end. PRs are always welcome though! |
Is your feature request related to a problem? Please describe
A clear and concise description of what the problem is. Ex. I'm always frustrated when ...
I've been running reverse proxies and am finally getting better at the various configurations. Now I have a server behind the proxy that handles ssl itself on 443 so I need my reverse proxy to simply pass that connection through unchanged based on the server_name.
Problem = (either no example code) | (no community forum to ask questions) | (I really don't understand how to learn this myself from the source)
Describe the solution you'd like
A clear and concise description of what you want to happen.
I think that the stream template is what I want. Can we get a sample of how to instantiate a server block for streams?
Is there a forum to ask these types of questions?
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: