zoulja
(Zoulja)
May 11, 2021, 4:52pm
#1
I have Graylog behind NAT and proxy
It listens on 127.0.0.1 and requests are routed to this IP:port from public IP
It’s pretty much the same as described in Web interface — Graylog 4.0.0 documentation
The problem is that inside of index page of Graylog absolute path is used, like
<link rel="shortcut icon" href="http://127.0.0.1:9000/assets/favicon.png">
<script src="http://127.0.0.1:9000/config.js">
<script src="http://127.0.0.1:9000/assets/vendor.594b2a39cb22b445205e.js">
Browser obviously fails to load resources from 127.0.0.1
What’s the reason of using absolute path and how to correct it?
gsmith
(GSmith)
May 14, 2021, 3:31am
#2
Hello,
Not sure if you seen this post. Looks like it has some information that might help.
Hello everyone. I know, a similar question has been discussed many times but nothing is working for me.
I want to use Graylog 4.0 and jwilder/nginx-proxy
According to jwilder/nginx-proxy documentation we must specify -e VIRTUAL_HOST=“mysubdomain.mydomain.com ” and expose port
Based on that, I am using the following command to ran Graylog container
$ docker run --name mongo -d mongo:4.2
$ docker run --name elasticsearch \
-e "http.host=0.0.0.0" \
-e "discovery.type=single-node" \
-…
Hope that helps
zoulja
(Zoulja)
May 14, 2021, 8:07am
#3
Thank you, unfortunately I don’t have Nginx, it’s just port forwarding
I’ve created Graylog behind a proxy and src parameter · Issue #10632 · Graylog2/graylog2-server · GitHub to try to address this issue
system
(system)
closed
May 28, 2021, 8:08am
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.