mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-26 05:05:54 +00:00
Update ots-install.sh
This commit is contained in:
@@ -40,6 +40,12 @@ msg_ok "Certificate Generated"
|
||||
|
||||
msg_info "Setting up nginx"
|
||||
cat <<EOF >/etc/nginx/sites-available/ots.conf
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name ots;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
Reference in New Issue
Block a user