mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-24 05:07:15 +02:00
tools.func: add nginx site helper and PHP socket resolver (#16118)
This commit is contained in:
committed by
GitHub
parent
7046b72981
commit
8029b208a6
@@ -55,11 +55,7 @@ server {
|
||||
}
|
||||
EOF
|
||||
|
||||
ln -sf /etc/nginx/sites-available/omnitools /etc/nginx/sites-enabled/omnitools
|
||||
rm -f /etc/nginx/sites-enabled/default
|
||||
$STD nginx -t
|
||||
systemctl enable -q --now nginx
|
||||
systemctl reload nginx
|
||||
nginx_enable_site omnitools
|
||||
msg_ok "Configured Nginx"
|
||||
|
||||
motd_ssh
|
||||
|
||||
Reference in New Issue
Block a user