forked from mozilla/f1
/
f1.conf
50 lines (37 loc) · 1.11 KB
/
f1.conf
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
41
42
43
44
45
46
47
48
49
50
LogLevel warn
ServerName f1.mozillamessaging.com
LoadModule wsgi_module modules/mod_wsgi26.so
WSGISocketPrefix /tmp/wsgi
WSGIPythonHome /usr/local/python2.6
WSGIDaemonProcess linkdrop \
user=linkdrop \
group=linkdrop \
python-path=/home/linkdrop/linkdrop-env/lib/python2.6/site-packages \
processes=10 \
threads=10 \
WSGIProcessGroup linkdrop
DocumentRoot /home/linkdrop/linkdrop/web-static
AddType application/x-xpinstall .xpi
WSGIScriptAlias /api /home/linkdrop/linkdrop/wsgi/linkdrop.wsgi
<Location />
Order deny,allow
allow from all
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/json text/css application/x-javascript
FileETag MTime Size
</Location>
<Location /api>
SSLRequireSSL On
</Location>
<Location /mycheckpoint>
ProxyPass http://rd-db-01/mycheckpoint
ProxyPassReverse http://rd-db-01/mycheckpoint
</Location>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 10.200.0.0/16 127.0.0.1/8
</Location>
AddType image/x-icon .ico
Redirect /frontpage https://f1.mozillamessaging.com