Skip to content
Snippets Groups Projects
Commit 271a602e authored by Paul's avatar Paul :turtle:
Browse files

update nginx conf for git.*

parent 1417107e
No related branches found
No related tags found
No related merge requests found
Pipeline #4650 failed
include snippets/geoblock.conf;
server {
listen 80;
listen [::]:80;
......@@ -19,14 +17,6 @@ server {
return 301 https://$host$request_uri;
}
client_max_body_size 256M;
# apply geoblocking
if ($allowed_country = no) {
return 302 https://luebeck.freifunk.net/;
}
location / {
return 301 https://git.chaotikum.org/freifunk-luebeck;
}
......
map $geoip_country_code $allowed_country {
default yes;
IN no; #India
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment