1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-28 01:39:29 +02:00

Restrict access to /admin in httpd conf samples

This commit is contained in:
Daniel Berteaud 2014-07-19 14:14:03 +02:00
parent b994a46d6e
commit 3c5e2c86fd
2 changed files with 12 additions and 0 deletions

View File

@ -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>

View File

@ -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>