-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathhttpd.conf
57 lines (43 loc) · 1.48 KB
/
httpd.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
51
52
53
54
55
56
57
PidFile "/usr/share/koschei/httpd.pid"
ServerRoot "/etc/httpd"
Listen 8080
Include conf.modules.d/*.conf
User koschei
Group koschei
ServerName koschei
ServerAdmin root@localhost
DocumentRoot "/var/www/html"
#ErrorLog "/usr/share/koschei/error_log"
ErrorLog "/dev/stdout"
LogLevel warn
#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
#CustomLog "/usr/share/koschei/access_log" combined
TypesConfig /etc/mime.types
IncludeOptional conf.d/*.conf
WSGISocketPrefix /usr/share/koschei/wsgi
<VirtualHost *>
IncludeOptional /etc/koschei/httpd-virthost-early.conf
WSGIDaemonProcess koschei user=koschei group=koschei threads=5 home=/usr/share/koschei
WSGIScriptAlias / /usr/share/koschei/koschei.wsgi
Alias /static /usr/share/koschei/static/
Alias /robots.txt /usr/share/koschei/static/robots.txt
Alias /favicon.ico /usr/share/koschei/static/favicon.ico
<Directory /usr/share/koschei>
WSGIProcessGroup koschei
WSGIApplicationGroup %{GLOBAL}
Options All
AllowOverride All
Require all granted
</Directory>
#<Location /login>
#Require valid-user
# Fedora OpenID
#AuthType OpenID
#AuthOpenIDSingleIdP https://id.fedoraproject.org/
# Kerberos
#AuthType GSSAPI
#GssapiCredStore keytab:/etc/krb5.keytab
#</Location>
IncludeOptional /etc/koschei/httpd-virthost.conf
IncludeOptional /etc/koschei/httpd-virthost-late.conf
</VirtualHost>