diff --git a/etc/conf/locations.conf b/etc/conf/locations.conf new file mode 100644 index 00000000..b679849f --- /dev/null +++ b/etc/conf/locations.conf @@ -0,0 +1,9 @@ +location / { + include header.conf; + if ($http_user_agent ~* "^Wget") { + proxy_pass http://contexts; + break; + } + return 302 https://$server_name/; +} +