Generalizing GeoIP to be consumed by more services
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
server {
|
||||
#listen 443 ssl http2;
|
||||
listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
http2 on;
|
||||
server_name yggdrasil.aninix.net;
|
||||
|
||||
include conf/sec.conf;
|
||||
include conf/letsencrypt.conf;
|
||||
# include conf/default.csp.conf;
|
||||
|
||||
# GeoIP block
|
||||
if ($deny) { return 503; }
|
||||
|
||||
location /
|
||||
{
|
||||
proxy_set_header Host $http_host;
|
||||
|
||||
Reference in New Issue
Block a user