influxdb to container

influx
pegasust 2022-12-07 20:55:46 +00:00
parent 18edc81ac9
commit 263dc057de
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ server {
server_name influxdb.felia.cloud;
location / {
proxy_pass http://localhost:8086;
# proxy_pass http://localhost:8086;
proxy_pass http://influxdb-influxdb-1:8086;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;