ansible-nginx
ansible-nginx copied to clipboard
Modifications to allow for multiple ssl certs and servers with only upstreams
trafficstars
I fixed the SSL variables, and added a few if-statements that'll only play with the site is defined as "only_upstream"
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.
Hm, true, that would accomplish the same thing