Forwarding HTTPS to VM's HTTPS...

2016-02-15 Thread Kevin "Ingwie Phoenix" Ingwersen
Hey guys! StackOverflow didn’t do anything this time, so I decided to visit here and try asking my question here! :) A bit of backstory: I have had a fatal server crash. 464 days of uptime with unapplied updates from an OS upgrade, kernel patches and more. When I did do a reboot…it all exploded

http2 enable or disable per virtual host

2016-02-15 Thread matrixmatrix
Hi the ngx_http_v2_module could not switch enable or disable per virtual host. The following code, http.domainname.com is enabled http2. I would like to enable only the http2 of http2.domainname.com. server { listen 443 ssl http2;

Re: hhvm and nginx

2016-02-15 Thread maziar
this may help you https://www.digitalocean.com/community/tutorials/how-to-install-hhvm-with-nginx-on-ubuntu-14-04 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264524,264548#msg-264548 ___ nginx mailing list nginx@nginx.org http://mailman.n

PUT/POST files to akamai CDN

2016-02-15 Thread florian . hesse
Hello everyone, i want to use nginx as a simple and effective way to generate mpeg-dash streams and push them to the akamai CDN network. There for i need to push the generated files with the POST Request method to the akamai entrypoint. But the problem is i have continuously generated files tha

Re: how can i set diffrent proxy cache time by diffrent uri

2016-02-15 Thread Maxim Dounin
Hello! On Mon, Feb 15, 2016 at 05:11:40AM -0500, vps4 wrote: > i tried to use like this > > server { > > set $cache_time 1d; > > if ($request_uri = "/") { > set $cache_time 3d; > } > > if ($request_uri ~ "^/other") { > set $cache_time 30d; > } > > loca

Re: Proxy domain rewrite using proxy_cookie_domain

2016-02-15 Thread Maxim Dounin
Hello! On Mon, Feb 15, 2016 at 01:29:01AM -0500, nitin wrote: > Thanks for reply. > In case client is just a browser then it will send all the cookies with NGIX > domain which means that NGIX will send all the cookies to backend server > irrespective of who initially set it in set-cookie header..

how can i set diffrent proxy cache time by diffrent uri

2016-02-15 Thread vps4
i tried to use like this server { set $cache_time 1d; if ($request_uri = "/") { set $cache_time 3d; } if ($request_uri ~ "^/other") { set $cache_time 30d; } location / { try_files $uri @fetch; } location @fetch { proxy_cache_val