Strange cache problem unable to purge

Post Reply
pvs
Posts: 6
Joined: Mon Apr 05, 2021 3:47 pm

Hi and thank you for accepting me in this forum

I was a vesta cp user and i migrated on myvesta to install it on debian 10.

I have multiple Website (200) and Ip adress ont this server (16)

my vesta cp version is:

But on 1 website i've a problem
The website keep displaying an old version when i enable ssl but it's ok if i disable.

here is my setup :

Proxy support for this website : disabled
ssl support : enabled
Let's encrypt support : enabled
ssl home: public_html

I tried this :
  • Restart the whole server
  • Delete the whole website in myvesta
  • remove all the file on the hard disk (for thi website)
  • Restart php fpm
  • Restart apache
  • Restart nginx
Can you help please ? it's going to make me crazy :o !
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Proxy should be enabled.
If you don't want that nginx serve static files, just remove extensions list.
pvs
Posts: 6
Joined: Mon Apr 05, 2021 3:47 pm

Thanks, while leting nginx enabled i was facing multiple problem with my htaccess file, but after removing he extension list, it seems ok.
note that i had to let at least one extension, field empty doesn't save.
pvs
Posts: 6
Joined: Mon Apr 05, 2021 3:47 pm

It finally didn't solve my problem :'(
i just let jpg as an extension for nginx.

But now : i've the right content in chrome (seems to be cache), ok in edge too and in curl also.
But when i try to crawl the website with screaming frog or with google (using the search console, i get 404 on all new website pages)

So it seems there is still this cache probleme somewhere

For example : even the sitemap.xml doesn't contain the same information while accessing and while reading it by ftp.
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Put just 'txt' in extensions list.

Second advice, put 'hosting-legacy' or 'force-https-legacy' nginx template.
pvs
Posts: 6
Joined: Mon Apr 05, 2021 3:47 pm

I tried both right after you answer, i'm still facing the same problem.
You think i should reinstall the whole server (i'm not wanting too, but it's like madness behavior)
Restarting nginx should purge the cache no ?
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

I didn't understand what cache do you have?
You can send me via private message admin login for your Vesta, and write me domain of your site, I'll take a look in next 24 hours.
pvs
Posts: 6
Joined: Mon Apr 05, 2021 3:47 pm

Ok, i'll send you the crdentials.

I think i've a cache cause even after disabling the proxy cache by nginx i still have the wront content for the files on the website.
i say wrong cause it's different to what i can see on the ftp.

Edit: before lunch i had the problem; right now, i've not. May be something was refreshed (and i don't know what ?)
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Maybe you just got cache from browser.
Use Incognito browsing to avoid browser cache.
pvs
Posts: 6
Joined: Mon Apr 05, 2021 3:47 pm

Ok now it's reallt strange, i didn't change anything and the old version is back.
to be clear when this happen i tried to check with
curl in command line, private nagication, screaming frog seo spider, or google search console spider, all at the end display differently than what i've in the ftp.
I sent to yu th ecredential, i'm realy curious of what the origin of this devil behaviour
Post Reply