S
S
Semyon Dubina2012-04-13 11:50:38
linux
Semyon Dubina, 2012-04-13 11:50:38

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 !~* &quot;wordpress_logged_in&quot;) {<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 != &quot;1&quot;) {<br/>
# add_header Vary Cookie;<br/>
# }<br/>
# }

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AxisPod, 2012-04-13
@sam002

> 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.

A
AnViar, 2012-04-13
@AnViar

Friday... well done, cho...

A
Anatoly, 2012-04-13
@taliban

fastcgi_pass 127.0.0.1:12345;
Who do you have here?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question