Skip to content
Snippets Groups Projects
Commit ae63f83f authored by Loraine Gueguen's avatar Loraine Gueguen
Browse files

Fix authelia_config_path

parent bb7bfee9
No related branches found
No related tags found
1 merge request!1Release 1.0
......@@ -206,9 +206,9 @@ def make_traefik_compose_files(config, main_dir):
if not config["authelia_config_path"] == "" or not config["authelia_config_path"] == "/path/to/authelia/config":
if os.path.isfile(os.path.abspath(config["authelia_config_path"])):
try:
shutil.copy(os.path.abspath(config["banner_path"]), "./traefik/authelia/configuration.yml")
shutil.copy(os.path.abspath(config["authelia_config_path"]), "./traefik/authelia/configuration.yml")
except Exception as exc:
logging.critical("Could not copy authlia configuration file")
logging.critical("Could not copy authelia configuration file")
sys.exit(exc)
# authelia_config_template = env.get_template(os.path.basename(config["authelia_config_path"]))
# authelia_config_output = authelia_config_template.render(render_vars)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment