K
K
krinbin2019-02-02 00:48:31
PHP
krinbin, 2019-02-02 00:48:31

How to fix Expires: Thu, 19 Nov 1981?

Greetings.
I noticed that on one of the sites the
Set-Cookie response is given: PHPSESSID=a38300af3e2; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Not sure how to fix Expires ?
Bundle nginx + phpfpm + wordpress
I repeat that there are several sites on the server with the same configs.
Apparently the legs grow from the topic of VP.
What is this date, I already googled. The question is how to remove it?
Editing php.ini (also googled)
session.cache_limiter = public, max-age = 525600
session.cache_expire = 525600
Didn't help.
Something like this :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2019-02-02
@ky0

https://nginx.org/ru/docs/http/ngx_http_headers_mo...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question