rewrite rules issue
    Francis Daly 
    francis at daoine.org
       
    Mon Apr 20 13:05:41 UTC 2015
    
    
  
On Mon, Apr 20, 2015 at 04:12:11AM -0400, nicocolt wrote:
Hi there,
> I have set a new server block, but i'm facing with the initial problem.
> 
> So let me re-explain it.
> 
> Now i have:
> 
> server name stuff.domain.fr
> root /var/www/domain.fr/web/subdomain;
On your test system which shows this behaviour, what is the complete
copy-paste version of the server{} configuration that you are using?
If I use
==
  server {
    server_name stuff.domain.fr;
    root /var/www/domain.fr/web/subdomain;
  }
==
then "curl -i -H Host:stuff.domain.fr http://127.0.0.1/foo" does not
show me the problem that you report.
	f
-- 
Francis Daly        francis at daoine.org
    
    
More information about the nginx
mailing list