configpolicy/roles/graylog/templates/graylog.httpd.conf.j2

16 lines
333 B
Django/Jinja

# vim: set ft=apache :
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule /.* https://%{SERVER_NAME}$0 [R=301,L]
ProxyRequests Off
ProxyPass / http://localhost:9000/ nocanon
ProxyPassReverse / http://localhost:9000/
RequestHeader set X-Graylog-Server-URL {{ graylog_server_url }}
<Location />
Require all granted
</Location>