-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathapache.conf
37 lines (28 loc) · 1.12 KB
/
apache.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
<VirtualHost _default_:80>
Alias /static /repomaker/repomaker-static
<Directory /repomaker/repomaker-static>
Require all granted
</Directory>
Alias /repos /repomaker/data/repos
<Directory /repomaker/data/repos>
Require all granted
</Directory>
WSGIScriptAlias / /repomaker/repomaker/wsgi.py
WSGIDaemonProcess repomaker python-path=/repomaker:/usr/local/lib/python3.5/dist-packages
WSGIProcessGroup repomaker
WSGIPassAuthorization On
<Directory /repomaker/repomaker>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
LogLevel info
ErrorLog /repomaker/data/logs/error.log
CustomLog /repomaker/data/logs/access.log combined
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet