Skip to content
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

Move SSL settings to separate config files #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Move SSL settings to separate config files #20

wants to merge 3 commits into from

Conversation

cristoper
Copy link
Contributor

For each entry in nginx_sites, create a file at
/etc/nginx/conf.d/common_ssl_site.<domain>.conf containing its SSL
configs, and include that in its main configuration files. This should
fix upstream Issue #15.

Also create /etc/nginx.conf.d/common_ssl_default.conf with the default
SSL settings. This is convenient for other vhosts -- including those not
managed by this role -- to be able to import.

For each entry in nginx_sites, create a file at
/etc/nginx/conf.d/common_ssl_site.domains[0].conf containing its SSL
configs, and include that in its main configuration files. This should
fix upstream Issue #15.

Also create /etc/nginx.conf.d/common_ssl_default.conf with the default
SSL settings. This is convenient for other vhosts -- including those not
managed by this role -- to be able to import.
I forgot the /etc/nginx/conf.d/ dir is included by the main nginx.conf
file. Store configuration snippets in our own directory (/etc/nginx/ansible-nginx-conf.d) instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant