Skip to content

Commit b3b500a

Browse files
GetLiftynemchik
andauthored
Update pterodactylnode.subdomain.conf.sample
Co-authored-by: Eric Nemchik <[email protected]>
1 parent 6098392 commit b3b500a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pterodactylnode.subdomain.conf.sample

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,14 @@ server {
4646
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4747

4848
}
49+
50+
location ~ (/pterodactylnode)?/api {
51+
include /config/nginx/proxy.conf;
52+
include /config/nginx/resolver.conf;
53+
set $upstream_app pterodactylnode;
54+
set $upstream_port 443;
55+
set $upstream_proto http;
56+
proxy_pass $upstream_proto://$upstream_app:$upstream_port/api/servers/$serverid/ws;
57+
58+
}
4959
}

0 commit comments

Comments
 (0)