Added proxy support

This commit is contained in:
absurdo 2023-12-03 01:17:30 +01:00
parent 666d31f3b3
commit a9aab71d12
3 changed files with 311 additions and 1 deletions

View file

@ -178,7 +178,7 @@ with open(name_file, 'w') as f:
f.write("</Location>\n")
print('Updating apache configuration for wordpress outside of htdocs...')
print('Updating apache configuration for flask outside of htdocs...')
if subprocess.call('sudo mv {} /etc/{}/vhosts.d/extra && sudo chown root:root /etc/{}/vhosts.d/extra/{}'.format(name_file, apache_cmd, apache_cmd, base_name_file), shell=True) > 0:
print('Error')
sys.exit(1)