Graylog2 / graylog-docker

Official Graylog Docker image
https://hub.docker.com/r/graylog/graylog/
Apache License 2.0
372 stars 134 forks source link

The HTTP_EXTERNAL IP is visible inside index.html #104

Closed ghost closed 4 years ago

ghost commented 4 years ago

I face a problem with the docker-compose configuration

- GRAYLOG_HTTP_EXTERNAL_URI=http://10.10.99.103:9000/

which makes the IP appear inside the index.html

<body>
    <script src="http://10.10.99.103:9000/config.js"></script>
....

The problem is here, is that the graylog server is accessible from two different networks (it has two different IPs in different networks). If I access the server from network A, I see only IP IP_A, if I access the server from network B, I see it only via IP_B. Thus, if IP_A is 10.10.99.103, no one is able to access it from the network B.

I think a solution would be to remove the IP from the index.html and write

<script src="/config.js"></script>

instead.

Can anyone advise how to achieve this?

Thank you very much!

florianpopp commented 4 years ago

We are using GitHub issues for tracking bugs in Graylog itself, but this doesn't look like one. Please post this issue to our discussion forum or join the #graylog channel on freenode IRC.

Thank you!