Re: nginx wrong with systemd

2016-05-05 Thread supersnd
question is on selinux, Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266640,21#msg-21 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

proxy cache + pseudo-streaming for mp4/flv

2016-05-05 Thread bossfrog
Hi guys! In order to make the `proxy cache` and `pseudo-streaming for mp4/flv` work together, I do a rough hacking on nginx 1.9.12 (there is my patch: https://pastebin.mozilla.org/8869689). It works well apparently, but I wonder that if I did it right? or I was taking a risk? Posted at Nginx Forum

Re: HTTP2 Multiplexing

2016-05-05 Thread Muhui Jiang
Hi Thanks Valentin. I've know the principle Best Regards Muhui Jiang 2016-05-04 19:18 GMT+08:00 Valentin V. Bartenev : > On Wednesday 04 May 2016 18:50:44 Muhui Jiang wrote: > > Hi > > > > >Nginx allows multiple request and responses in multiple connections > using > > >HTTP/1.x as well. HTTP/

Re: openshift-nginx docker image running as non-root

2016-05-05 Thread Paulo Leal
Hi, I added the lines to my dockerfile Run ... && chmod 777 /var/log/nginx / && rm -rf /var/log/nginx/error.log / && rm -rf /var/log/nginx/access.log It worked for me! Thanks for your help. Paulo Leal On Thu, May 5, 2016 at 12:57 PM, Aleksandar Lazic wrote: > Hi. > > Am 04-05-2016

Re: Rewrite before regex location

2016-05-05 Thread Francis Daly
On Thu, May 05, 2016 at 05:13:29AM +0530, Joyce Babu wrote: Hi there, > Is it possible to do something like this? > > location /test/ { > rewrite "^/test/([a-z]+).php$" /php-fpm/test/test.php?q=$1 last; > } > > location ~ ^/php-fpm/ { > location ~ [^/]\.php(/|$) { > fastcgi_spli

Re: openshift-nginx docker image running as non-root

2016-05-05 Thread Aleksandar Lazic
Hi. Am 04-05-2016 23:50, schrieb Francis Daly: On Wed, May 04, 2016 at 06:25:01PM -0300, Paulo Leal wrote: Hi there, Completely untested by me; and I've not used openshift or docker, but: I have been playing around with the https://github.com/nginxinc/openshift-nginx dockerfile and trying t

RE: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-05 Thread Lukas Tribus
> nginx version: nginx/1.2.6 > built by gcc 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) > [...] > CentOS 6.7 server Try disabling kerberos cipher suites [1], you may be hitting some obscure CentOS/RedHat libc issues [2]. [1] https://mozilla.github.io/server-side-tls/ssl-config-generator/?server=ngin

Re: (52) Empty reply from server

2016-05-05 Thread Valentin V. Bartenev
On Thursday 05 May 2016 10:27:46 Pankaj Chaudhary wrote: > Hi, > > thank you! > My module is basically for resource protection. > I have already running my module on other servers also. > My module follow below steps. > -Generate cookie and write in response header > -read from header when cookie

Re: ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-05 Thread kostbad
How do i update to the latest stable version of nginx on a CentOS 6.7 server? Are there any precautions before the update? Will if affect my current settings-conf ? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266590,266641#msg-266641 ___

nginx wrong with systemd

2016-05-05 Thread supersnd
default.conf location / { #root /usr/share/nginx/html; root /sdd/; #index index.html index.htm; autoindex on; [root@centos /]# /usr/sbin/nginx -c /etc/nginx/nginx.conf I can read the files [root@centos /]systemd start nginx 403 Forbidden nginx/1.9.15 I add User=

Replace apache with nginx

2016-05-05 Thread Christian Ivanov
Hello there. I want to migrate my website only on nginx. I setup everything, but have issue with my htaccess. Here is the file: [root@server]# cat .htaccess RewriteEngine On RewriteRule ^audio-(.*)\.html$ %{ENV:BASE}/audio_redirect_mask.php [L] RewriteRule ^s/(.*)$ %{ENV:BASE}/audio_