Create proxydg.conf

This commit is contained in:
midoks 2022-05-07 16:11:48 +08:00
parent ee4ee1341f
commit dd23ace152
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
location / {
proxy_redirect off;
proxy_pass http://127.0.0.1:12345;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}