... | ... | @@ -58,6 +58,30 @@ Darauf folgt eine Verifikation der Configdatei und ein restart von nginx. |
|
|
service nginx restart
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Installation GeoIP Module
|
|
|
|
|
|
Um das GeoIP Module im Nginx zu aktivieren muss der http-Block (z.b. `nano /etc/nginx/nginx.conf`) um folgende einträge ergänzt werden.
|
|
|
|
|
|
```
|
|
|
http {
|
|
|
|
|
|
...
|
|
|
|
|
|
geoip_country /usr/share/GeoIP/GeoIP.dat;
|
|
|
geoip_city /usr/share/GeoIP/GeoLiteCity.dat;
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
Hier ist ein Snippet für ein GeoIp Cron Update Script zu finden
|
|
|
|
|
|
https://dev.quiqqer.com/quiqqer/quiqqer/snippets/84
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
***
|
|
|
|
|
|
|
... | ... | |