Thank you very much for your answer.
I seen that the files system in the shared hard disc is "nfs".
So, I understand that the source server does NOT use this shared disk (nfs), but the destination server does use it to save the backups.
Can you help me please?
Plesk version (source server): 17.8.11 Update #40
Version of plesk (destination server): 17.8.11 Update #40
1- Using normal migration, I tried to move several sites. After a wait of more than 30 minutes, Plesk showed me an error message. (I do not have this error message, but it is the same as...
I have managed to solve the problem. IT SHOULD BE IN THE PLESK DOCUMENTATION. I was a week to place the cache ..
proxy_ignore_headers "Set-Cookie";
proxy_hide_header "Set-Cookie";
The "x-cache-status" is not displayed. In order to show that value I need to add:
add_header X-NG-Cache-Status $upstream_cache_status;
The problem is that when I add that line, both appear:
x-cache-status and x-ng-cache-status.
The value that always appears is "MISS". I will leave...
In the "Additional nginx directives" section, I have added what you asked for.
location ~* \.(htm|html)$ {
expires 14d;
access_log off;
add_header Cache-Control "public";
}
proxy_ignore_headers Expires Cache-Control;
Now I do not see the "cache status". no caché.png
@trialotto
Thank you very much for your answer. Below I detail what I did.
1- I have removed: add_header X-NG-Cache-Status $upstream_cache_status;
2- I have added:
/wp-admin/
/xmlrpc.php
/wp-(app|cron|login|register|mail).php (or: wp-.*.php)
/feed/
index.php
wp-comments-popup.php...
with respect to the list that you passed me. Adding the line: /wp-[a-zA-Z0-9-]+.php you do not think it includes all these lines?
/wp-comments-popup.php
/wp-links-opml.php
/wp-locations.php
/wp-.*.php
/xmlrpc.php
/wp-app.php
/wp-login.php
/wp-register.php
/wp-mail.php
/wp-admin/
Finally...
Hello, I would like clarify that I don't speak good english, but I will try.
I have activated the Nginx cache from Plesk, and to know if it is working correctly I want it to return the "cache status". To achieve that I have added this line "add_header X-NG-Cache-Status $upstream_cache_status;"...