mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
Minimal fake os_constant() for nginx constants.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user