Skip to content

Commit

Permalink
Merge pull request #642 from unkn0wnAPI/influxdb-fix
Browse files Browse the repository at this point in the history
Disable external authorization for Influxdb API endpoint
  • Loading branch information
Roxedus committed May 11, 2024
2 parents 5738540 + 8627400 commit 24bca5e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions influxdb.subdomain.conf.sample
@@ -1,4 +1,4 @@
## Version 2023/05/31
## Version 2024/01/08
# make sure that your influxdb container is named influxdb
# make sure that your dns has a cname set for influxdb

Expand Down Expand Up @@ -41,6 +41,16 @@ server {
set $upstream_port 8086;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}
}

location ~ (/influxdb)?/api {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app influxdb;
set $upstream_port 8086;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}
}

0 comments on commit 24bca5e

Please sign in to comment.