On Thu, 10 Jan 2019 08:50:33 +
Francis Daly wrote:
> On Wed, Jan 09, 2019 at 06:14:04PM -0800, li...@lazygranch.com wrote:
>
> Hi there,
>
> > location / {
> > if ($badagent) { return 403; }
> > }
> > location = /feeds {
> > try_files $uri $uri.xml $uri/ ;
> >
On Wed, Jan 09, 2019 at 06:14:04PM -0800, li...@lazygranch.com wrote:
Hi there,
> location / {
> if ($badagent) { return 403; }
> }
> location = /feeds {
> try_files $uri $uri.xml $uri/ ;
> }
> The "=" should force an exact match, but the badagent map is
>
On Wed, 9 Jan 2019 08:20:05 +
Francis Daly wrote:
> On Tue, Jan 08, 2019 at 07:30:44PM -0800, li...@lazygranch.com wrote:
>
> Hi there,
>
> > Stripping down the nginx.conf file:
> >
> > server{
> > location / {
> > root /usr/share/nginx/html/mydomain/public_html;
> > if
On Tue, Jan 08, 2019 at 07:30:44PM -0800, li...@lazygranch.com wrote:
Hi there,
> 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