Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

nginx 304 Not Modified (If-Modified-Since) - not found

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
aderr
Posts: 2
Joined: Tue Sep 22, 2020 9:53 pm

Os: CentOS 6x
Web: apache + nginx
nginx 304 Not Modified (If-Modified-Since) - not found
  • Quote

Post by aderr » Mon Nov 02, 2020 11:44 pm

Hello friends.
I am using the latest version of centos7 and the latest version of Vesta Сpanel. System is completely updated and no excess is installed.
All settings are standard, nginx,apache,php7.4.1 - I need to get 304 from the server,
And I get - if I do not enable nginx caching(in settings vestacp).

I check from this link. https://last-modified.com/last-modified ... e-php.html

adding to the settings nginx vhost
proxy_cache_revalidate on;
proxy_cache_background_update on;
proxy_set_header If-Modified-Since $http_if_modified_since;

separately or together these settings do not work, now I'm stumped.
is it really impossible to start a nginx cache and 304 Not Modified (If-Modified-Since) ?
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password