Arthur
April 30, 2019, 5:56pm
1
Hi,
I need to change the URL currently working from https://10.1.1.1:9000 to https://10.1.1.1:9000/graylog . This change works parcially, I am able to access
Search: https://10.1.1.1:9000/graylog/search
Streams: https://10.1.1.1:9000/graylog/streams
Alerts: https://10.1.1.1:9000/graylog/alerts
Dashboards: https://10.1.1.1:9000/graylog/dashboards
Sources: https://10.1.1.1:9000/graylog/sources#3600
But System is replacing wrongly the URL: https://10.1.1.1:9000/graylog/graylog/system/overview
The change in the config file to modify the URL is as follows:
# Default: http://$http_bind_address/
http_publish_uri = https://10.1.1.1:9000/graylog
# Default: $http_publish_uri
http_external_uri = https://10.1.1.1:9000/graylog/
Do you know if other configuration has to be modified?
Thanks
jan
(Jan Doberstein)
April 30, 2019, 8:03pm
2
such is only possible with a proxy. not vanilla graylog
Arthur
April 30, 2019, 8:31pm
3
Thanks for your response Jan, you are always very helpful. Please let me explain further. I have the following configuration in the proxy:
<Location /graylog>
ProxyPass https://10.1.1.1:9000/graylog
ProxyPassReverse https://10.1.1.1:9000/graylog
</Location>
When adding graylog at the end of the URL, I am able to get the correct URL with graylog at the end for Search, Streams, Alerts, Dashboards and Sources. For instance:
https://10.1.1.1:9000/graylog/search
However, System option in main menu is getting twice graylog and then throwing 404 error for Page Not Found:
https://10.1.1.1:9000/graylog/graylog/system/nodes
because the expected URL is the following:
https://10.1.1.1:9000/graylog/system/nodes
Do you know why this behavior?
Thanks
jan
(Jan Doberstein)
May 1, 2019, 2:30pm
4
did you run 3.0.1? because that version should have a fix for that.
Thanks for your response Jan,
I am running 3.0.0. I will install Graylog 3.0.1 and check again.
Thanks
Thanks Jan,
Graylog 3.0.1 fixed the problem as you mentioned.
Thanks for all your support.
system
(system)
Closed
May 15, 2019, 8:57pm
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.