Re: SSL stream to HTTP2 server

2018-09-13 Thread Danila Vershinin
Sep 13, 2018 at 09:26:31PM +0300, Danila Vershinin wrote: > >> Hello, >> >> I’m trying to basically use nginx as replacement to hitch (for Varnish). >> >> Request goes like this: browser → nginx (stream SSL) → varnish (HTTP2 on) → >> backend HTTP

SSL stream to HTTP2 server

2018-09-13 Thread Danila Vershinin
Hello, I’m trying to basically use nginx as replacement to hitch (for Varnish). Request goes like this: browser → nginx (stream SSL) → varnish (HTTP2 on) → backend HTTP stream { server { listen 443 ssl; ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;

Re: WordPress multisite with root url as Laravel application

2018-08-17 Thread Danila Vershinin
Hi, Why not just create 2 server blocks, one for root domain and the other for WP multisite subdomains? As in: server { server_name example.com www.example.com ; … Laravel directives go here } server { server_name *.example.com

Re: PROXY protocol to upstream server

2018-08-12 Thread Danila Vershinin
ample.com/>.crt; ... } } Best Regards, Danila > On 13 Aug 2018, at 00:12, Maxim Dounin wrote: > > Hello! > > On Sun, Aug 12, 2018 at 11:33:25PM +0300, Danila Vershinin wrote: > >> It seems that nginx can accept PROXY protocol fine, but when it >> c

PROXY protocol to upstream server

2018-08-12 Thread Danila Vershinin
Hi, It seems that nginx can accept PROXY protocol fine, but when it comes to forwarding, it can only do so only within a stream { server { … proxy_protocol on; } } . Are there any plans to add proxy_protocol on; for regular HTTP server blocks so it can be used alongside proxy_pass? This would