Compile nginx 1.4.7 --with-http_rewrite_module Error

gaoping at richinfo.cn gaoping at richinfo.cn
Tue May 13 07:20:26 UTC 2014


ngx_http_rewrite_module  
syntax:if (condition) { ... }
default:—
context:server, location  
I use in location', 



gaoping at richinfo.cn
 
From: Valentin V. Bartenev
Date: 2014-05-13 15:15
To: nginx
Subject: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error
On Tuesday 13 May 2014 13:34:11 gaoping at richinfo.cn wrote:
> Think you
>     But If I turn off the words,I have no way is to use  'if' order.An error
> occurred : [emerg] 14499#0: unknown directive "if($remote_addr" in
> /usr/local/nginx1/conf/nginx.conf:46
There is no directive "if($remote_addr" in nginx.
 
Evidently you have missed a space after the "if" directive.
 
  wbr, Valentin V. Bartenev
 
_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140513/0565c5ff/attachment.html>


More information about the nginx mailing list