Answer the question
In order to leave comments, you need to log in
Adjusted. Nginx issuing index.php to load?
nginx+php-fpm+wordpress. Caching through standard nginx tools and the wp_super_cache plugin.
Symptoms: When requesting the site root (under the admin account, in chromium), it issues index.php for loading (the rest of the pages work adequately), in firefox under other accounts and with a guest login, everything is fine (the page is loaded).
I rolled back the nginx settings, but the problem remained. Where to dig and why it happened I don’t understand, if this is a bug, then it’s very serious and it’s worth exploring the situation in more detail. Version "nginx/1.1.18"
Added the following piece of settings:
# location ~ ^/forum/.*$ {<br/>
# try_files $uri @wordpress;<br/>
# if ($http_cookie !~* "wordpress_logged_in") {<br/>
# rewrite .*$ /forum redirect;<br/>
# }<br/>
# fastcgi_index index.php;<br/>
# fastcgi_pass 127.0.0.1:12345;<br/>
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br/>
# include /etc/nginx/fastcgi_params;<br/>
# if ($do_not_cache != "1") {<br/>
# add_header Vary Cookie;<br/>
# }<br/>
# }
Answer the question
In order to leave comments, you need to log in
> When requesting the site root (under the admin account, in chromium), it issues index.php for loading (the rest of the pages work adequately), in firefox under other accounts and with a guest login, everything is fine (the page is loaded).
This is about the browser cache. I don't see any other options.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question