Update nginx.sh

This commit is contained in:
Esteban Mackay Q 2023-12-15 23:11:18 -05:00
parent 865a6f51e8
commit f61502dd64
1 changed files with 12 additions and 0 deletions

View File

@ -42,6 +42,18 @@ server {
}
}
EOFX1
sudo cat > /etc/nginx/sites-available/proxy0 <<- "EOFX1"
server {
listen wd0p;
server_name w0dn0;
location / {
proxy_pass http://127.0.0.1:wp0p;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
EOFX1
################################################################
# Registra el final en /opt/curl.txt