December 16, 2016 01:34AM
If I delete the if!

I get an error

root@mail:~# nginx -t -c /etc/nginx/nginx.conf
nginx: [emerg] unknown directive "($http_user_agent" in /etc/nginx/nginx.conf:82
nginx: configuration file /etc/nginx/nginx.conf test failed
Subject Author Posted

nginx.conf

xstation December 16, 2016 12:57AM

Re: nginx.conf

c0nw0nk December 16, 2016 01:05AM

Re: nginx.conf

xstation December 16, 2016 01:17AM

Re: nginx.conf

xstation December 16, 2016 01:34AM

Re: nginx.conf

c0nw0nk December 16, 2016 01:55AM

Re: nginx.conf

xstation December 16, 2016 03:45AM

Re: nginx.conf

gariac December 16, 2016 02:02AM

Re: nginx.conf

gariac December 16, 2016 04:40AM

Re: nginx.conf

xstation December 17, 2016 08:21AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 173
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready