mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02:00
Add/adjust api and metric endpoints
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
## Version 2023/02/05
|
||||
## Version 2023/02/12
|
||||
# make sure that your portainer container is named portainer
|
||||
# portainer does not require a base url setting
|
||||
|
||||
@@ -31,7 +31,7 @@ location ^~ /portainer/ {
|
||||
proxy_hide_header X-Frame-Options; # Possibly not needed after Portainer 1.20.0
|
||||
}
|
||||
|
||||
location ^~ /portainer/api/websocket/ {
|
||||
location ^~ /portainer/api {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app portainer;
|
||||
|
||||
Reference in New Issue
Block a user