reverse proxy multiple subdomains problems

Francis Daly francis at daoine.org
Tue Sep 4 07:07:35 UTC 2018


On Mon, Sep 03, 2018 at 04:07:49PM -0400, c0mputerking wrote:

Hi there,

> I am new with nginx and have a hunch that it may have something to do with
> $server_name$request_uri not being the right option in my case but i'm not
> sure see config below 

Correct.

You probably want $host instead of $server_name.

http://nginx.org/r/$server_name
http://nginx.org/r/$host

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list