diff options
author | Justin chi <chigang@huawei.com> | 2017-11-03 08:46:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-11-03 08:46:51 +0000 |
commit | efe568f8fea785f3933108d176a12cb3f59466a6 (patch) | |
tree | cfb4d80f0cea67549a73ddadeff60b3e5b0d4fbe /compass-cobbler/cobbler_web.conf | |
parent | 936165548e0cd034ec118e43c1cc925ca2ac8b05 (diff) | |
parent | 9852c792eebda940ccc8bd18b8acf2d69f7b3715 (diff) |
Merge "Add compass-cobbler"
Diffstat (limited to 'compass-cobbler/cobbler_web.conf')
-rw-r--r-- | compass-cobbler/cobbler_web.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/compass-cobbler/cobbler_web.conf b/compass-cobbler/cobbler_web.conf new file mode 100644 index 0000000..04b9881 --- /dev/null +++ b/compass-cobbler/cobbler_web.conf @@ -0,0 +1,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> |