Re: RE: Configuration problem: request default 15.15.15.15/ not working

2018-09-25 Thread Frank_Mascarell
I've also tried adding "/" and throwing the same error. I have also added to the .conf file: location = / { include proxy_params; proxy_pass http://unix:/run/gunicorn.sock; } before the fragment location / {..} with the same error. This error is very strange. The configuratio

Re: Cache POST requests

2018-09-25 Thread Daniël Mostertman via nginx
Hi, On 2018-09-25 20:32, Lahiru Prasad wrote: >     What is the best way to cache POST requests in Nginx. I'm familiar > with using redis module to cache GET requests. But is it possible to > use the same for POST ? It's possible to cache POST-requests, but it's generally not something you want to

Cache POST requests

2018-09-25 Thread Lahiru Prasad
Hi, What is the best way to cache POST requests in Nginx. I'm familiar with using redis module to cache GET requests. But is it possible to use the same for POST ? Search showed that Nginx POST caching possible via disk cache. I'm thinking whether it would be a good idea to use a RAM disk for

Re: [nginx-announce] nginx-1.15.4

2018-09-25 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.15.4 for Windows https://kevinworthington.com/ nginxwin1154 (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announc

nginx-1.15.4

2018-09-25 Thread Maxim Dounin
Changes with nginx 1.15.425 Sep 2018 *) Feature: now the "ssl_early_data" directive can be used with OpenSSL. *) Bugfix: in the ngx_http_uwsgi_module. Thanks to Chris Caputo. *) Bugfix: connections with some gRPC backends might not be ca

Re: Cache only one specific query string pattern

2018-09-25 Thread Palvelin Postmaster via nginx
> On 25 Sep 2018, at 16:35, Palvelin Postmaster via nginx > wrote: > > I use Wordpress’ REST API post feed to embed articles on an external site. My > articles are updated fairly seldom, so there’s probably no need to > dynamically compile every request response. I’m thinking of using fastcg

Cache only one specific query string pattern

2018-09-25 Thread Palvelin Postmaster via nginx
I use Wordpress’ REST API post feed to embed articles on an external site. My articles are updated fairly seldom, so there’s probably no need to dynamically compile every request response. I’m thinking of using fastcgi cache to cache the feed. I’m currently skipping caching for all requests wit

RE: Configuration problem: request default 15.15.15.15/ not working

2018-09-25 Thread Reinis Rozitis
> but https://15.15.15.15/ throw error "Not found: The requested URL / was not > found on this server. ", And I can not find the error. This is the > configuration: > and urls.py django: > > urlpatterns = [ > path('', RedirectView.as_view(url='/inicio/', permanent=True)), > path('inicio/',