I’m using docker-compose to run influxdb 2.0.
influxdb:
image: quay.io/influxdb/influxdb:2.0.0-alpha
ports:
- 9999:9999
nginx:
...
Together with an nginx container, (somewhat) configured as follows:
http {
server {
listen 443 ssl;
location /influxdb/ {
proxy_pass http://influxdb:9999/;
}
}
}
When I’m doing a request to my-domain.com/influxdb
I’m redirected to the correct page (and I see a request coming in for influxdb in the logs), but it does not properly load the javascript & css files, as it tries to retrieve that from my-domain.com
instead of my-domain.com/influxdb
.
I tried setting influx up with the following command:
influx setup --host=http://localhost:9999/influxdb/
, but that doesn’t change anything in the requests.
Maybe I’m missing something, but I thought I’d let you know before I try setting this thing up slightly different. (using http://my-domain:9999
instead)