• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Issue Service plan server configuration is not applied

brother4

Basic Pleskian
Hello,
I have added the following ngnix configurations to a service plan and applied them. The affected subscription is in sync mode and not locked. What could be reasons that it still only works if I store it directly in the domain settings?
Code:
gzip_proxied any;

location ~* \.(js|jpg|jpeg|gif|png|css|tgz|gz|rar|zip|bz2|doc|pdf|ppt|tar|wav|bmp|rtf|swf|ico|flv|txt|woff|woff2|svg|webp|webm)$ {
etag on;
if_modified_since exact;
add_header Pragma "public";
add_header Cache-Control "max-age=31536000, public";
}

I tried also a reboot and
Code:
plesk repair all -y

with 0 errors and warnings.

I verified it with:
Code:
curl -I https://www.example.com/image.svg

Only with the service plan and empty domain nginx config textarea nothing changes. Insert it in domain config it works immediately. Even switching to the same service plan did not help.

Thank you!
 
Last edited:
Back
Top