summaryrefslogtreecommitdiffstats
path: root/compass-cobbler/cobbler_web.conf
blob: 04b9881b248110b7a53efd338e84d334bc81bd13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This configuration file enables the cobbler web
# interface (django version)

# Force everything to go to https
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} ^/cobbler_web
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}


WSGIScriptAlias /cobbler_web /usr/share/cobbler/web/cobbler.wsgi

<IfVersion >= 2.4>
    <Location /cobbler_web>
        Require all granted
    </Location>
</IfVersion>