Skip to content
Snippets Groups Projects
Commit 8da7fddc authored by jurgenhaas's avatar jurgenhaas
Browse files

Prepare apache for letsencrypt challenge webroot

parent 24595352
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,7 @@
ServerAdmin {{ apache_server_admin }}
ServerName {{ discourse_domain }}
RewriteEngine on
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
Include /etc/apache2/{{ apache_conf_dir }}/letsencrypt-redirect.conf
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded
LogLevel warn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment