mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update nginx.sh
This commit is contained in:
parent
865a6f51e8
commit
f61502dd64
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue