Multiple HTTP2 reverse proxy support ?

Руслан Закиров ruz at sports.ru
Fri Dec 8 07:17:33 UTC 2017


Why not?

    server {
        listen       80;
        server_name  localhost;
        location / {
            alias /Users/ruz/projs/localhost/;
        }
    }
    server {
        listen       80;
        server_name  example.com;
        location / {
            proxy_pass ...;
        }
    }
    server {
        listen       80;
        server_name  example.ru;
        location / {
            proxy_pass ...;
        }
    }


On Fri, Dec 8, 2017 at 9:18 AM, carrotis <nginx-forum at forum.nginx.org>
wrote:

> Hello
>
>
> I'm trying to configure a reverse proxy for multiple domains with a single
> nginx server.
>
> Is that possible
>
> eg.
>
> <Clients> ----[HTTP 2.0]-->   < Nginx >   ---[HTTP 1.1]--- > <OriginServer>
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?2,277698,277698#msg-277698
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



-- 
Руслан Закиров
Руководитель отдела разработки веб-сервисов
+7(916) 597-92-69, ruz @  <http://www.sports.ru/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20171208/f615bfb2/attachment-0001.html>


More information about the nginx mailing list