Skip to content
Snippets Groups Projects
Commit 404b7539 authored by root's avatar root
Browse files

Remove old config.

parent 3347ba30
No related branches found
No related tags found
No related merge requests found
<VirtualHost *:80>
ServerName auth.aesir.wurnet.nl
RewriteEngine On
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
</VirtualHost>
<VirtualHost *:443>
ServerName auth.aesir.wurnet.nl
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/aesir.wurnet.nl/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/aesir.wurnet.nl/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/aesir.wurnet.nl/chain.pem
ServerAdmin webmaster@localhost
ErrorLog ${APACHE_LOG_DIR}/keycloak_error.log
CustomLog ${APACHE_LOG_DIR}/keycloak_access.log combined
ReWriteEngine on
ProxyPreserveHost On
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
Header always unset X-Frame-Options
ProxyPass "/" "http://localhost:8564/"
ProxyPassReverse "/" "http://localhost:8564/"
<LocationMatch "(/|/admin/|/welcome/|/metrics|/health)$">
deny from all
allow from 127.0.0.1
</LocationMatch>
</VirtualHost>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment