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?
I tried also a reboot and
with 0 errors and warnings.
I verified it with:
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!
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: