Location-Based Reverse Proxying GrayLog2

In order to have greylog2 show up on a sub-location such as:

http://server.tld/greylog

the following configuration settings have to be made in /etc/greylog/server/server.conf:

rest_listen_uri = http://192.168.0.1:9000/graylog/api/
web_listen_uri = http://192.168.0.1:9000/graylog
web_endpoint_uri = http://192.168.0.1/graylog/api/

where:

  • 192.168.0.1 is a publicly accessible IP address

Finally, Apache has to proxy the location-based URL by adding a location to the default configuration:

        # Graylog
        <Location /graylog>
                ProxyPreserveHost On
                ProxyPass http://192.168.0.1:9000/graylog
                ProxyPassReverse http://192.168.0.1:9000/graylog
        </Location>

fuss/graylog/2.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.