Graylog HTTPS Redirect Using Apache

I’m trying to figure out how to redirect my IP Address to my FQDN.
I have HTTPS enable and working with FQDN .

I also have the IP address.

How do I get only the FQDN and not the IP Address?
Basically either I redircet the IP Address or I block it.

My Evironment:
CentOS 7 Latest Version

I have looked here Web-Interface

I have tried to Configure my Apache config file as shown below.

<VirtualHost *:443>
    ProxyRequests Off
    SSLEngine on
    SSLOptions +StrictRequire
    SSLCertificateFile "/etc/ssl/certs/graylog/graylog-certificate.pem"
    SSLCertificateKeyFile "/etc/ssl/certs/graylog/graylog-key.pem"
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^10\.200\.6\.70$ [NC,OR]
    RewriteRule .* [R,L]
    <Proxy *>
        Order deny,allow
        Allow from all
    <Location />
        RequestHeader set X-Graylog-Server-URL ""

Apache is running.
The apache config file I have tried the default configuration such as;

No errors in the log files, I’m still able to log into Graylog GUI, Everything still working normal.

I have done this with Zabbix, and Nextcloud, but I cant get it with Graylog for some reason. Any help would be appreciated, or direct me to documentation that I have missed…

not really a Graylog question but a quick Google search picked up this:

Thank you for the reply. I looked you link over but unfortunately it did not help. I still get IP Address shown, no redirect. I’m wondering if there is a configution on Graylog that I missing to execute a redirect.

when you put in :9000 (port 9000) I assume that Graylog is answering the request and not apache.

What means it highly depends what your http_* settings are …

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.