mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 19:52:34 +02:00
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.
17 lines
389 B
Python
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."""
|