• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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