mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-30 12:34:43 +00:00
RomM: remove nginx default.conf during installation (#14766)
This commit is contained in:
committed by
GitHub
parent
32f1956023
commit
7703edf4b6
@@ -265,6 +265,7 @@ EOF
|
||||
|
||||
sed -i "s|alias /var/lib/romm/library/;|alias ${ROMM_BASE}/library/;|" /etc/nginx/sites-available/romm
|
||||
rm -f /etc/nginx/sites-enabled/default
|
||||
rm -f /etc/nginx/conf.d/default.conf
|
||||
ln -sf /etc/nginx/sites-available/romm /etc/nginx/sites-enabled/romm
|
||||
systemctl restart nginx
|
||||
systemctl enable -q --now nginx
|
||||
|
||||
Reference in New Issue
Block a user