virtualhost_sympa.maquette 458 Bytes
Newer Older
Eric's avatar
Eric committed
1
2
3
4
5
<VirtualHost 87.98.220.62:80>
  ProxyPreserveHost On
  RewriteEngine On
  #lets encrypt
  RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/
Eric's avatar
update    
Eric committed
6
7
  RewriteRule ^/wws/(.*)$	  https://%{HTTP_HOST}/wws/$1 [L,R=301,NE]
  RewriteRule ^/$	  	  https://%{HTTP_HOST}/wws [L,R=301,NE]
Eric's avatar
Eric committed
8
9
10
11
12
13
14

  ServerName MAQUETTE

  ServerAdmin listmaster@DOMAINE
  ErrorLog /var/log/apache2/MAQUETTE-error.log
  CustomLog /var/log/apache2/MAQUETTE-access.log combined
</VirtualHost>