The Wayback Machine - https://web.archive.org/web/20220525192602/https://github.com/schenkd/nginx-ui/blob/master/config.py
Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
import os
class Config(object):
SECRET_KEY = os.urandom(64).hex()
NGINX_PATH = '/etc/nginx'
CONFIG_PATH = os.path.join(NGINX_PATH, 'conf.d')
@staticmethod
def init_app(app):
pass
class DevConfig(Config):
DEBUG = True
class WorkingConfig(Config):
DEBUG = False
config = {
'dev': DevConfig,
'default': WorkingConfig
}