Open 1resu opened 8 years ago
Actually it is just as easy to limit access to the /?admin nginx
server {
[...]
if ($query_string ~ "admin") {
allow 1.1.1.1;
deny all;
}
I asume most of the setups use rainloop beneath an existing domain, e.g. https://domain/rainloop. Then you have to put the if statement in a nginx location block, which is not recommended. So this is not an option.
Also this isn't possbile with Apache.
It is possible with ModRewite in Apache (REMOTE_ADDR/QUERY_STRING). It's also possible with HAProxy.
Hi, the admin GUI is only accessible via a query (/?admin). That makes it hard to protect this URL by a .htaccess rule or similar.
Could you please implement it without the query?
Thanks a lot.