• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

reverse nginx proxy

Yaashul

New Pleskian
I have set nginx as reverse proxy. I want to serve static content using nginx and php content using apache. So I went to Web Server Settings of my domain and in nginx settings I have enabled
Smart static files processing
Serve static files directly by nginx

now I added following statement in Additional nginx directives

Code:
location ~* \.(?:ico|gif|png|jpe?g|swf|flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
valid_referers none blocked server_names *.facebook.com *.fb.me *.stumbleupon.com *.twitter.com ~\.tumblr\. ~\.pinterest\. ~\.feedburner\. ~\.msn\. ~\.netvibes\. ~\.live\. t.co bit.ly ~\.google\. ~\.bing\. ~\.yahoo\.;
if ($invalid_referer) {
return   403;
}

But the problem I m facing now is no expire header is added to any of those files. What shud I do?
 
Back
Top