mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
Minimal fake os_constant() for nginx constants.py
This commit is contained in:
parent
2cd2228ca6
commit
ae6ca4d4ca
1 changed files with 7 additions and 0 deletions
|
|
@ -16,3 +16,10 @@ MOD_SSL_CONF_SRC = pkg_resources.resource_filename(
|
|||
"certbot_nginx", "options-ssl-nginx.conf")
|
||||
"""Path to the nginx mod_ssl config file found in the Certbot
|
||||
distribution."""
|
||||
|
||||
def os_constant(key):
|
||||
# XXX TODO: In the future, this could return different constants
|
||||
# based on what OS we are running under. To see an
|
||||
# approach to how to handle different OSes, see the
|
||||
# apache version of this file.
|
||||
return CLI_DEFAULTS
|
||||
|
|
|
|||
Loading…
Reference in a new issue