mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-08 09:38:51 +02:00
termix: create /tmp/nginx before nginx -t (#14312)
This commit is contained in:
committed by
GitHub
parent
cd314ddb3f
commit
cb7d9037fb
@@ -100,6 +100,7 @@ sed -i 's|/app/html|/opt/termix/html|g' /etc/nginx/nginx.conf
|
||||
sed -i 's|/app/nginx|/opt/termix/nginx|g' /etc/nginx/nginx.conf
|
||||
sed -i 's|listen ${PORT};|listen 80;|g' /etc/nginx/nginx.conf
|
||||
|
||||
mkdir -p /tmp/nginx
|
||||
rm -f /etc/nginx/sites-enabled/default
|
||||
nginx -t
|
||||
systemctl reload nginx
|
||||
|
||||
Reference in New Issue
Block a user