mirror of
https://github.com/dani/vroom.git
synced 2024-06-30 15:23:41 +02:00
Restrict access to /admin in httpd conf samples
This commit is contained in:
parent
b994a46d6e
commit
3c5e2c86fd
|
@ -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…
Reference in New Issue
Block a user