Added proxy support
This commit is contained in:
parent
666d31f3b3
commit
a9aab71d12
3 changed files with 311 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue