Fixes
This commit is contained in:
@@ -319,7 +319,7 @@ def make_nginx_custom_template() -> None:
|
||||
return False
|
||||
try:
|
||||
result = subprocess.run(
|
||||
["patch", "-p1", "-i", patch_file],
|
||||
["patch", "-p1", target, patch_file],
|
||||
cwd=target_dir,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
@@ -483,7 +483,7 @@ if __name__ == "__main__":
|
||||
site_state({ domain: "on"})
|
||||
else:
|
||||
_log("mod_rewrite should be disbled")
|
||||
if mod_rewrite_global in ("1", "on"):
|
||||
if mod_rewrite_global not in ("1", "on"):
|
||||
_log("Global state enabled")
|
||||
if os.path.isdir(path_to_global_config):
|
||||
mod_file_path = os.path.join(path_to_global_config, "mod_rewrite.conf")
|
||||
|
||||
Reference in New Issue
Block a user