aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/templates
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/websites/templates')
-rw-r--r--deployment/websites/templates/vhost_static.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/deployment/websites/templates/vhost_static.conf b/deployment/websites/templates/vhost_static.conf
index 866d235a..2d3f4c44 100644
--- a/deployment/websites/templates/vhost_static.conf
+++ b/deployment/websites/templates/vhost_static.conf
@@ -19,11 +19,21 @@
AddOutputFilterByType DEFLATE application/json text/javascript application/javascript application/x-javascript
<Location />
+ Deny from all
+ </Location>
+
+ <Location /g/>
Allow from all
</Location>
<Directory <%= vhostdir %>>
Order deny,allow
+ Deny from All
+ AllowOverride None
+ </Directory>
+
+ <Directory <%= vhostdir %>/g>
+ Order deny,allow
Allow from All
AllowOverride None
</Directory>
@@ -52,11 +62,21 @@
AddOutputFilterByType DEFLATE application/json text/javascript application/javascript application/x-javascript
<Location />
+ Deny from all
+ </Location>
+
+ <Location /g/>
Allow from all
</Location>
<Directory <%= vhostdir %>>
Order deny,allow
+ Deny from All
+ AllowOverride None
+ </Directory>
+
+ <Directory <%= vhostdir %>/g>
+ Order deny,allow
Allow from All
AllowOverride None
</Directory>