Skip to content

Commit dd23ace

Browse files
committedMay 7, 2022
Create proxydg.conf
1 parent ee4ee13 commit dd23ace

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎rewrite/nginx/proxydg.conf

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
location / {
2+
proxy_redirect off;
3+
proxy_pass http://127.0.0.1:12345;
4+
proxy_http_version 1.1;
5+
proxy_set_header Upgrade $http_upgrade;
6+
proxy_set_header Connection "upgrade";
7+
proxy_set_header Host $http_host;
8+
}

0 commit comments

Comments
 (0)
Please sign in to comment.