nginx work

This commit is contained in:
Zsolt Ero
2023-12-31 02:25:48 +01:00
parent 82bac4197d
commit ae91fe58dc
6 changed files with 82 additions and 63 deletions

View File

@@ -49,6 +49,7 @@ def nginx(c):
put(c, f'{ASSETS_DIR}/nginx/default_disable.conf', '/data/nginx/sites')
put(c, f'{ASSETS_DIR}/nginx/cloudflare.conf', '/data/nginx/config')
c.sudo('nginx -t')
c.sudo('service nginx restart')