Skip to content

Commit 6098392

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

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

pterodactylnode.subdomain.conf.sample

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,6 @@ server {
2323
# enable for Authentik (requires authentik-location.conf in the location block)
2424
#include /config/nginx/authentik-server.conf;
2525

26-
location ~ ^\/api\/servers\/(?<serverid>.*)?\/ws$ {
27-
28-
include /config/nginx/proxy.conf;
29-
include /config/nginx/resolver.conf;
30-
set $upstream_app pterodactylnode;
31-
set $upstream_port 443;
32-
set $upstream_proto http;
33-
proxy_pass $upstream_proto://$upstream_app:$upstream_port/api/servers/$serverid/ws;
34-
proxy_set_header Upgrade $http_upgrade;
35-
proxy_set_header Connection "upgrade";
36-
}
3726

3827
location / {
3928
# enable the next two lines for http auth

0 commit comments

Comments
 (0)