This commit is contained in:
Zsolt Ero
2023-12-18 03:06:16 +01:00
parent 1d1cae9b40
commit 818cf1e349
8 changed files with 85 additions and 22 deletions

View File

@@ -59,6 +59,7 @@ def prepare_http_host(c):
def debug_tmp(c):
c.sudo('rm -rf /data/ofm/logs')
c.sudo('mkdir -p /data/ofm/logs')
c.sudo('rm -f /data/nginx/logs/*')
put(c, f'{config}/nginx/nginx.conf', '/etc/nginx/')
put(c, f'{scripts}/http_host/nginx_site.conf', '/data/nginx/sites')
c.sudo('nginx -t')