1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 22:18:07 +08:00
1Panel/cmd/server/nginx_conf/website_default.conf
2022-11-17 21:20:33 +08:00

18 lines
479 B
Plaintext

server {
listen 80;
server_name ko.wp-1.com;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Real-IP $remote_addr;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
location / {
proxy_pass http://127.0.0.1:8080;
}
access_log /var/log/nginx/nginx-log.log;
}