Files
certbot/letsencrypt_nginx/constants.py
T
Francois Marier 8198e6c105 Rename the nginx ssl config file to match the final filename
This config file will ultimately exist as /etc/letsencrypt/options-ssl-nginx.conf
so we may as well use the right filename everywhere.

This is much easier to deal with in the Debian packaging.
2015-06-07 20:22:43 +12:00

17 lines
389 B
Python

"""nginx plugin constants."""
import pkg_resources
CLI_DEFAULTS = dict(
server_root="/etc/nginx",
mod_ssl_conf="/etc/letsencrypt/options-ssl-nginx.conf",
ctl="nginx",
)
"""CLI defaults."""
MOD_SSL_CONF = pkg_resources.resource_filename(
"letsencrypt_nginx", "options-ssl-nginx.conf")
"""Path to the Nginx mod_ssl config file found in the Let's Encrypt
distribution."""