Re: HTTP/2 and HTTPS

2016-03-14 Thread Sven Kirschbaum
Hi, a similar issue has been discussed here: https://forum.nginx.org/read.php?2,264392,264392 In short: If you have any http2 directives for a port in your configuration, every connection on that port can use http2. Im not sure if specifying the listen IP will help in this case, but its worth a tr

Re: HTTP/2 and HTTPS

2016-03-14 Thread Roswebnet
Thank you for your fast response. However, could you please provide an example of "IP on the listen directive" I am accessing content from Firefox like https://192.168.1.162 for https connection and https://192.168.1.163 for http2. Moreover, those ip also accessible by http:// and served also wel

Re: HTTP/2 and HTTPS

2016-03-14 Thread Richard Stanway
You probably need to specify the IP on the listen directive if you want different configurations of listening ports on different IPs. On Mon, Mar 14, 2016 at 11:43 PM, Roswebnet wrote: > Hi everyone, > > I have strange issue with nginx 1.9.12. I have 3 IP addresses as a server > name that are al

HTTP/2 and HTTPS

2016-03-14 Thread Roswebnet
Hi everyone, I have strange issue with nginx 1.9.12. I have 3 IP addresses as a server name that are alias IPs on a single Ubuntu server 15.10. Each servername related to specific protocol: http: server { listen 80; server_name 192.168.1.161; #charset koi8-r; #access_log

Rev. proxying a java applet

2016-03-14 Thread aruzsi
Hi, I'm a beginner to nginx. I want to rev. proxying a page with java applet. I think it is usual and nothing special ... This is my 1st config: location /pl-wbr/ { rewrite /pl-wbr/(.*) /$1 break; proxy_pass http://pl-wbr/; #proxy_redirect off; proxy_set_head

Re: main conf created twice, only closed once?

2016-03-14 Thread Maxim Dounin
Hello! On Mon, Mar 14, 2016 at 07:01:42AM -0400, ben5192 wrote: > Hi, > I have a problem with a module I'm writing. I need to do something in the > main config after variables are read from the conf file, so I have put this > in the post_conf function. Then I need do something when to it when the

Re: how can i bind proxy_bind to interface name?

2016-03-14 Thread Maxim Dounin
Hello! On Mon, Mar 14, 2016 at 05:12:29AM -0400, vps4 wrote: > i use proxy_bind with interface ip address, it works fine > but i need bind to interface name, for example: ppp0 > but it not worked, how can i do? This is not supported. -- Maxim Dounin http://nginx.org/ _

main conf created twice, only closed once?

2016-03-14 Thread ben5192
Hi, I have a problem with a module I'm writing. I need to do something in the main config after variables are read from the conf file, so I have put this in the post_conf function. Then I need do something when to it when the process is closed via ./nginx -s reload this is in the exit_process func

how can i bind proxy_bind to interface name?

2016-03-14 Thread vps4
i use proxy_bind with interface ip address, it works fine but i need bind to interface name, for example: ppp0 but it not worked, how can i do? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265297,265297#msg-265297 ___ nginx mailing list ng