Restrict access to /admin in httpd conf samples

master
Daniel Berteaud 10 years ago
parent b994a46d6e
commit 3c5e2c86fd
  1. 6
      conf/httpd_alias.conf
  2. 6
      conf/httpd_vhost.conf

@ -42,6 +42,12 @@ ScriptAlias /vroom /opt/vroom/public/vroom.pl
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType text/html "access plus 0 seconds"
</Directory>
# You should customize this part to access the admin interface
# VROOM doesn't handle authentication, it's up to you to protect
# /vroom/admin on your web server
<Location /vroom/admin>
require local
</Location>
<Location /socket.io>
SSLRequireSSL on
</Location>

@ -52,5 +52,11 @@
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType text/html "access plus 0 seconds"
</Location>
# You should customize this part to access the admin interface
# VROOM doesn't handle authentication, it's up to you to protect
# /admin on your web server
<Location /admin>
require local
</Location>
</VirtualHost>

Loading…
Cancel
Save