backing up shopserver1p apache config
[eostre.git] / drupal-configs / apache2 / sites-available / shopserver1p.fsf.org-ssl.conf
diff --git a/drupal-configs/apache2/sites-available/shopserver1p.fsf.org-ssl.conf b/drupal-configs/apache2/sites-available/shopserver1p.fsf.org-ssl.conf
new file mode 100644 (file)
index 0000000..cf18082
--- /dev/null
@@ -0,0 +1,36 @@
+# File deployed by Ansible, changes will be PRESERVED
+
+<IfModule mod_ssl.c>
+       <VirtualHost _default_:443>
+               ServerName shopserver1p.fsf.org
+               ServerAdmin sysadmin@gnu.org
+
+               DocumentRoot /var/www/html
+
+               #<Directory /var/www>
+               #       Options -Indexes -FollowSymLinks
+               #       AllowOverride None
+               #</Directory>
+
+               SSLEngine on
+                #SSLUseStapling on
+                #SSLStaplingReturnResponderErrors off
+                #SSLStaplingResponderTimeout 5
+               SSLCertificateFile    /etc/letsencrypt/live/shopserver1p.fsf.org/cert.pem
+               SSLCertificateKeyFile /etc/letsencrypt/live/shopserver1p.fsf.org/privkey.pem
+               SSLCertificateChainFile /etc/letsencrypt/live/shopserver1p.fsf.org/chain.pem
+
+               <FilesMatch "\.(cgi|shtml|phtml|php)$">
+                               SSLOptions +StdEnvVars
+               </FilesMatch>
+               <Directory /usr/lib/cgi-bin>
+                               SSLOptions +StdEnvVars
+               </Directory>
+
+                # Log to syslog, to be sent to termite
+               LogLevel warn
+               CustomLog "|/usr/bin/logger -t apache -p local4.info" combined
+               ErrorLog ${APACHE_LOG_DIR}/error.log
+
+       </VirtualHost>
+</IfModule>