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: 2017/04/09 15:35 by office

Access website using Tor Access website using i2p


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