Welcome! Log In Create A New Profile

Advanced

Re: nginx client cache

Anonymous User
January 23, 2017 08:14AM
В конфиге ничего интересного,

запрос попадает в этот location:

proxy_pass http://127.0.0.1:8080;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

add_header Cache-Control "public, max-age=86400";
expires 1d;


и все
> On 23 Jan 2017, at 14:43, Yuriy Medvedev <medvedev.yp@gmail.com> wrote:
>
>
> 2017-01-23 15:36 GMT+03:00 <chmind@yandex.ru <mailto:chmind@yandex.ru>>:
>
> Request header
>
> Здравствуйте, покажите конфиг.
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

nginx client cache

Anonymous User January 23, 2017 07:38AM

Re: nginx client cache

Yuriy Medvedev January 23, 2017 07:46AM

Re: nginx client cache

Anonymous User January 23, 2017 08:14AM

Re: nginx client cache

Валентин Бартенев January 23, 2017 08:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 216
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready