Browse Source

Merge "Fix scope of vhost template variables"

master
Zuul 11 months ago
parent
commit
33fcbde4b2
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      templates/storyboard_http.vhost.erb
  2. 1
    1
      templates/storyboard_https.vhost.erb

+ 1
- 1
templates/storyboard_http.vhost.erb View File

@@ -15,7 +15,7 @@
15 15
   CustomLog ${APACHE_LOG_DIR}/storyboard-access.log combined
16 16
 
17 17
   <Directory "<%= scope.lookupvar("storyboard::application::install_root") %>">
18
-    <% if @new_vhost_perms %>
18
+    <% if scope.lookupvar("storyboard::application::new_vhost_perms") %>
19 19
       Require all granted
20 20
     <% else %>
21 21
       Order allow,deny

+ 1
- 1
templates/storyboard_https.vhost.erb View File

@@ -55,7 +55,7 @@
55 55
     WSGIPassAuthorization On
56 56
 
57 57
     <Directory "<%= scope.lookupvar("storyboard::application::install_root") %>">
58
-      <% if @new_vhost_perms %>
58
+      <% if scope.lookupvar("storyboard::application::new_vhost_perms") %>
59 59
         Require all granted
60 60
       <% else %>
61 61
         Order allow,deny

Loading…
Cancel
Save