mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-09-18 17:27:24 +00:00
Update geoblocking instructions in readme.md
Clarified instructions for logging in and locating the allowed-countries.txt file in Nextcloud. Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@@ -36,7 +36,7 @@ This container creates Let's Encrypt certificates for subdomains of `your-nc-dom
|
||||
|
||||
## Geoblocking
|
||||
|
||||
- After the container was started the first time, log in as default `admin` user. You should see a new `nextcloud-aio-caddy` folder and inside there an `allowed-countries.txt` file
|
||||
- After the container was started the first time, log in in Nextcloud as default `admin` user. You should see a new `nextcloud-aio-caddy` folder in the files app and inside there an `allowed-countries.txt` file
|
||||
- In there you can adjust the allowed country codes for caddy by adding them to the first line, e.g. `IT FR` would allow access from italy and france.
|
||||
- Additionally, in order to activate this config, you need to get an account at https://dev.maxmind.com/geoip/geolite2-free-geolocation-data
|
||||
- download the `GeoLite2-Country.mmdb` from there and upload it with this exact name into the `nextcloud-aio-caddy` folder.
|
||||
|
||||
Reference in New Issue
Block a user