• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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