3678d00c2753420e21d044e65a233e48f5c8bea8
[eostre.git] / drupal-configs / shopserver / apache2 / sites-available / shopserver0p.fsf.org.conf~
1 ##################################################################
2 <VirtualHost *:80>
3         ServerName shopserver0p.fsf.org
4         ServerAlias shop.fsf.org
5         ServerAlias store.fsf.org
6         ServerAdmin webmaster@localhost
7         DocumentRoot /var/www/shopserver0p.fsf.org
8         RewriteEngine on
9         RewriteCond %{HTTPS} off
10         RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
11         ErrorLog /var/log/apache2/http-shopserver0p.fsf.org.error.log
12         CustomLog /var/log/apache2/http-shopserver0p.fsf.org.access.log combined
13 </VirtualHost>
14 ##################################################################
15
16 ##################################################################
17 <VirtualHost *:443>
18         ServerName shopserver0p.fsf.org
19         ServerAlias shop.fsf.org
20         ServerAlias store.fsf.org
21         DocumentRoot /var/www/shopserver0p.fsf.org
22         RewriteEngine On
23         ServerSignature On
24         AddType image/x-icon .ico
25         SSLEngine on
26
27         include /etc/apache2/sites-available/ssl-common.conf
28
29         SSLCertificateFile /etc/letsencrypt/live/shopserver0p.fsf.org/fullchain.pem
30         SSLCertificateKeyFile /etc/letsencrypt/live/shopserver0p.fsf.org/privkey.pem
31         SSLCertificateChainFile /etc/letsencrypt/live/shopserver0p.fsf.org/chain.pem
32
33
34         <Directory /var/www/shopserver0p.fsf.org>
35                 Options Indexes FollowSymLinks MultiViews
36                 AllowOverride All
37                 Satisfy all
38                 Order deny,allow
39                 allow from all
40                 #allow from 127.0.0.1 74.94.156.210 74.94.156.211
41         </Directory>
42
43
44         Include /etc/apache2/sites-available/shop.fsf.org-common
45
46
47         ErrorDocument 403 /403.html
48
49         LogFormat "%{X-Forwarded-for}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" cached
50
51         ErrorLog /var/log/apache2/http-shopserver0p.fsf.org.error.log
52         CustomLog /var/log/apache2/http-shopserver0p.fsf.org.access.log combined
53
54 </VirtualHost>
55 ##################################################################