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

Modifications to allow for multiple ssl certs and servers with only upstreams

Open ScuttleSE opened this issue 8 years ago • 2 comments
trafficstars

I fixed the SSL variables, and added a few if-statements that'll only play with the site is defined as "only_upstream"

ScuttleSE avatar Aug 11 '17 06:08 ScuttleSE

What if it worked naturally when root isn't defined in the vhost?

You could test if root is defined, instead of the custom variable.

Then it works without additional configuration or documentation.

nickjj avatar Aug 11 '17 10:08 nickjj

Hm, true, that would accomplish the same thing

ScuttleSE avatar Aug 11 '17 11:08 ScuttleSE