From 6659dddc6dddcead1ea5d2535ba879eead66332d Mon Sep 17 00:00:00 2001 From: "Ole Mathias Aa. Heggem" Date: Tue, 23 Jan 2018 22:22:10 +0100 Subject: Added varnish to ansible job --- ansible/roles/web/files/apache-virtualhost.conf | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ansible/roles/web/files/apache-virtualhost.conf (limited to 'ansible/roles/web/files/apache-virtualhost.conf') diff --git a/ansible/roles/web/files/apache-virtualhost.conf b/ansible/roles/web/files/apache-virtualhost.conf new file mode 100644 index 0000000..d9fadbe --- /dev/null +++ b/ansible/roles/web/files/apache-virtualhost.conf @@ -0,0 +1,40 @@ + + ServerAdmin lol@example.com + ServerName gondul.gathering.org + ServerAlias gondul.gathering.org + + DocumentRoot /opt/gondul/web + ScriptAlias /api/write/ /opt/gondul/web/api/write/ + ScriptAlias /api/read/ /opt/gondul/web/api/read/ + ScriptAlias /api/public/ /opt/gondul/web/api/public/ + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + + + AllowOverride None + Options +ExecCGI -MultiViews +Indexes +SymLinksIfOwnerMatch + Require all granted + + + AllowOverride None + Options Indexes FollowSymLinks MultiViews + AddDefaultCharset UTF-8 + Require all granted + + + + ErrorLog /var/log/apache2/error-nms.example.com.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog /var/log/apache2/access-nms.example.com.log combined + ServerSignature On + + -- cgit v1.2.3