ansible-role-nginx-config icon indicating copy to clipboard operation
ansible-role-nginx-config copied to clipboard

Documentation - example or discussion forum for proxy with straight ssl passthrough (maybe stream)

Open HeneryH opened this issue 4 years ago • 5 comments

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.

HeneryH avatar Jun 23 '21 23:06 HeneryH

At a very basic/generic level, you can find sample playbooks under the molecule directory. If you are looking for a stream template, you can look at the example here https://github.com/nginxinc/ansible-role-nginx-config/blob/main/molecule/default/converge.yml#L488-L520.

Documentation is a (rather slow) WIP, but it's on the roadmap. For now, GitHub issues is the best place to ask configuration questions.

alessfg avatar Jun 28 '21 13:06 alessfg

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...

x4FF3 avatar May 08 '23 15:05 x4FF3

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.

alessfg avatar May 08 '23 16:05 alessfg