2018-06-22 15:59:29 +00:00
|
|
|
<Virtualhost *:80>
|
2011-03-06 18:06:27 +00:00
|
|
|
ServerName %%fqdn%%
|
2018-06-22 15:59:29 +00:00
|
|
|
AssignUserId #%%UID%% #%%GID%%
|
2012-08-24 15:40:01 +00:00
|
|
|
SetEnv LOGIN "%%UID%%-%%LOGIN%%"
|
2010-12-21 09:34:10 +00:00
|
|
|
|
2018-06-22 15:59:29 +00:00
|
|
|
KeepAlive Off
|
2010-12-21 09:34:10 +00:00
|
|
|
|
2018-06-22 15:59:29 +00:00
|
|
|
RewriteEngine On
|
2012-08-26 11:02:46 +00:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !/cgi-bin/
|
2018-06-22 15:59:29 +00:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !/.well-known/acme-challenge/
|
|
|
|
RewriteRule ^/(.*)$ %%redirect%%/$1 [R=301,L]
|
2010-12-21 09:34:10 +00:00
|
|
|
|
|
|
|
</Virtualhost>
|
2018-06-22 15:59:29 +00:00
|
|
|
<VirtualHost *:443>
|
|
|
|
ServerName %%fqdn%%
|
|
|
|
AssignUserId #%%UID%% #%%GID%%
|
|
|
|
SetEnv LOGIN "%%UID%%-%%LOGIN%%"
|
|
|
|
|
|
|
|
SSLEngine On
|
|
|
|
SSLCertificateFile %%CRT%%
|
|
|
|
SSLCertificateKeyFile %%KEY%%
|
|
|
|
%%CHAINLINE%%
|
|
|
|
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !/cgi-bin/
|
|
|
|
RewriteRule ^/(.*)$ %%redirect%%/$1 [R=301,L]
|
|
|
|
|
2018-06-23 15:01:16 +00:00
|
|
|
</VirtualHost>
|