Skip to content
Snippets Groups Projects
Commit 730732ba authored by jurgenhaas's avatar jurgenhaas
Browse files

Prepare apache for letsencrypt challenge webroot

parent 7b486bc6
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,7 @@
ServerAdmin {{ apache_server_admin }}
ServerName {{ youtrack.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