Re: config nginx cache

2016-02-22 Thread Reinis Rozitis
no help? You have to be more specific. Saying "but did not work" doesn't tell what's the problem/issue - what/how did you test and what was the expected result? Also providing the relevant configuration parts speeds up the process. rr ___ nginx

Re: config nginx cache

2016-02-22 Thread Fahimeh Ashrafy
no help? On Mon, Feb 22, 2016 at 8:58 PM, Fahimeh Ashrafy wrote: > Hello all > how to config nginx to ac as both web server and cache server? > I used these links but did not work > https://serversforhackers.com/nginx-caching/ > https://www.nginx.com/blog/nginx-caching-guide/ > > Thanks all > __

config nginx cache

2016-02-22 Thread Fahimeh Ashrafy
Hello all how to config nginx to ac as both web server and cache server? I used these links but did not work https://serversforhackers.com/nginx-caching/ https://www.nginx.com/blog/nginx-caching-guide/ Thanks all ___ nginx mailing list nginx@nginx.org ht

Re: Nginx and pseudo-streaming

2016-02-22 Thread Andrew Hutchings
Hi Maziar, On 21/02/16 16:40, maziar wrote: but when i do this : http://172.16.1.2/videos/a.mp4?start=33 video started from beginning , whats wrong in my configuration? what should i do ? Have you done "?start=0" first to read the metadata? From the manual: http://nginx.org/en/docs/http/ngx

PRB custom error page

2016-02-22 Thread reaman
Hi, I want to custom personnal page and I make the page error.html in (/usr/share/nginx/html/error.html) and in the file rutorrent.conf in (/etc/nginx/sites-enabled/rutorrent.conf) I ajout this lines First test: server { ## redirection url ## listen 80;

Re: .XML running PHP getting 403

2016-02-22 Thread Jim Ohlstein
Hello, On 2/22/16 6:46 AM, txt3rob wrote: Hi, I want a PHP file to have the extension of .xml but when i do the below when accessing the php file via web browser i get a access denied. location ~ ^(.+\.xml)(/.*)?$ { fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_ind

Re: Building from source - Where is ./configure ?

2016-02-22 Thread Maxim Konovalov
On 2/22/16 2:56 PM, Evert Meulie wrote: > Hi all, > > I have obtained the sources via git > from https://github.com/nginx/nginx , but seem to be missing a > 'configure' script. > > Where/how do I get that? > http://hg.nginx.org/nginx/file/tip/auto/configure -- Maxim Konovalov

Building from source - Where is ./configure ?

2016-02-22 Thread Evert Meulie
Hi all, I have obtained the sources via git from https://github.com/nginx/nginx , but seem to be missing a 'configure' script. Where/how do I get that? -- Greetings, Evert ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

.XML running PHP getting 403

2016-02-22 Thread txt3rob
Hi, I want a PHP file to have the extension of .xml but when i do the below when accessing the php file via web browser i get a access denied. location ~ ^(.+\.xml)(/.*)?$ { fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi.

Opposite behavior of keepalive (nginx reverse proxy on ElasticSearch)

2016-02-22 Thread dr01
I am setting up a nginx reverse proxy for ElasticSearch (with HTTP Basic Auth) as described in this article: https://www.elastic.co/blog/playing-http-tricks-nginx This is my nginx config file: events { worker_connections 1024; } http { upstream elasticsearch { s