Re: Multiple HTTP2 reverse proxy support ?

2017-12-07 Thread Руслан Закиров
Why not? server { listen 80; server_name localhost; location / { alias /Users/ruz/projs/localhost/; } } server { listen 80; server_name example.com; location / { proxy_pass ...; }

Multiple HTTP2 reverse proxy support ?

2017-12-07 Thread carrotis
Hello I'm trying to configure a reverse proxy for multiple domains with a single nginx server. Is that possible eg. [HTTP 2.0]--> < Nginx > ---[HTTP 1.1]--- > Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277698,277698#msg-277698 __

safari websocket using different ssl_session_id

2017-12-07 Thread Danomi Czaski
I am trying to use a Cookie along with ssl_session_id to identify connections. This seems to work fine in Chrome and Firefox, but Safari looks like it uses a different ssl_session_id when it makes a websocket connection. Is there something else I can use to uniquely tie the cookie to a connection?

RE: [IE] Can Nginx used as a reverse proxy send HTTP(s) requests through a forward proxy ?

2017-12-07 Thread Jason Whittington
Are you trying to do something like this? server foo { listen 443 ssl; ...other settings elided... location /foo/ { https://external_site/; } } If https://external_site/ traverses a proxy then the answer is “no” – nginx can’t deal with proxy situations where it has to issue H

Re: simple reverse web proxy need a little help

2017-12-07 Thread qwazi
Very cool. Very simple to understand once you understand it. I did figure this out on my own simply by creating more files for the WWW side of each domain. It now works properly. Thank you. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277674,277695#msg-277695 ___

Re: Can Nginx used as a reverse proxy send HTTP(s) requests through a forward proxy ?

2017-12-07 Thread Francis Daly
On Wed, Dec 06, 2017 at 10:47:45PM +, Nicolas Legroux wrote: Hi there, > I'm wondering if it's possible to do what's described in the mail subject ? No. nginx does not speak the proxy-http protocol. You can: use something other than nginx; or change your forward proxy to be configured in "

Re: simple reverse web proxy need a little help

2017-12-07 Thread Francis Daly
On Wed, Dec 06, 2017 at 05:27:01PM -0500, qwazi wrote: Hi there, > is, one of the domains on the server that has 2 isn't resolving correctly > from the outside world. It only resolves correctly when you use just > http://domain.com. If you use http://www.domain.com it resolves to the > vhost1 d

can i use a another function like more_set_input_headers

2017-12-07 Thread Alexander Wenter
hi everybody, i have a question about more_set_input_headers. I use your default dist package from fedora 27, but i mess the packets more headers. I would like to convert this two functions more_set_headers -s 401 'WWW-Authenticate: Basic realm="server.domain.tld"'; more_set_input_headers