Welcome! Log In Create A New Profile

Advanced

I need my “bad user agent” map not to block my rss xml file

January 08, 2019 10:32PM
Stripping down the nginx.conf file:

server{
location / {
root /usr/share/nginx/html/mydomain/public_html;
if ($badagent) { return 403; }
}
location = /feeds {
try_files $uri $uri.xml $uri/ ;
}
}
The "=" should force an exact match, but the badagent map is checked.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

I need my “bad user agent” map not to block my rss xml file

gariac January 08, 2019 10:32PM

Re: I need my “bad user agent” map not to block my rss xml file

Francis Daly January 09, 2019 03:20AM

Re: I need my “bad user agent” map not to block my rss xml file

gariac January 09, 2019 09:16PM

Re: I need my “bad user agent” map not to block my rss xml file

Francis Daly January 10, 2019 03:52AM

Re: I need my “bad user agent” map not to block my rss xml file

gariac January 10, 2019 11:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready