diff options
author | Kristian Lyngstol <kly@kly.no> | 2017-04-19 18:17:40 +0200 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2017-04-19 18:17:40 +0200 |
commit | 4e04c35f04c264d728587a54d0515eef0a42a44b (patch) | |
tree | 7850ac76ba7d494014ecc97d54322567ed44af5d /ansible/roles/web/files | |
parent | 5bd19932a886eae468fea8bcb0e30c78f1d45141 (diff) |
build/: Make room for new deployment scheme
Diffstat (limited to 'ansible/roles/web/files')
-rw-r--r-- | ansible/roles/web/files/gondul.conf | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ansible/roles/web/files/gondul.conf b/ansible/roles/web/files/gondul.conf new file mode 100644 index 0000000..0cdbff7 --- /dev/null +++ b/ansible/roles/web/files/gondul.conf @@ -0,0 +1,39 @@ +<VirtualHost *:80> + 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/ + <Directory "/opt/gondul/web/api/write/"> + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + </Directory> + <Directory "/opt/gondul/web/api/read/"> + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + </Directory> + <Directory "/opt/gondul/web/api/public/"> + AllowOverride None + Options +ExecCGI -MultiViews +Indexes +SymLinksIfOwnerMatch + Require all granted + </Directory> + <Directory "/opt/gondul/web"> + AllowOverride None + Options Indexes FollowSymLinks MultiViews + AddDefaultCharset UTF-8 + Require all granted + </Directory> + + 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 + +</VirtualHost> |