mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
Update pterodactylnode.subdomain.conf.sample
Co-authored-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
parent
6098392eb9
commit
b3b500a8eb
1 changed files with 10 additions and 0 deletions
|
@ -46,4 +46,14 @@ server {
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ (/pterodactylnode)?/api {
|
||||||
|
include /config/nginx/proxy.conf;
|
||||||
|
include /config/nginx/resolver.conf;
|
||||||
|
set $upstream_app pterodactylnode;
|
||||||
|
set $upstream_port 443;
|
||||||
|
set $upstream_proto http;
|
||||||
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port/api/servers/$serverid/ws;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue