blob: d9fadbedd9585fe7d5b4af1f91b3bdd8723a2228 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<VirtualHost *:8080>
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>
|