Hi,
I'm running Plesk Obsidian Web Pro Edition Version 18.0.25.
I've made changes in Apache & nginx Settings for one of my domains.
Incorrectly I added
in the "Disable caching for locations" box. When I pressed the OK button to accept the changes I got an error message. I removed the code from the box and now when I press Apply, I get the error:
I can't seem to remove the code from the box, when I delete the code and press Apply or OK.
And now I get the error message at the top of my Websites and Domains:
I've tried to generate the broken configuration files but it still has the error.
Can you suggest a solution to the problem? Is there a file I can edit to restore the file to the original settings?
Many thanks
I'm running Plesk Obsidian Web Pro Edition Version 18.0.25.
I've made changes in Apache & nginx Settings for one of my domains.
Incorrectly I added
Code:
.php
Invalid nginx configuration: nginx: [emerg] pcre_compile() failed: nothing to repeat in "*.php" at "*.php" in /etc/nginx/plesk.conf.d/vhosts/mydomain.co.uk.conf:47 nginx: configuration file /etc/nginx/nginx.conf test failed
Unable to use the current nginx configuration file and to rollback to the previous version of the file because they both contain invalid configuration.
I can't seem to remove the code from the box, when I delete the code and press Apply or OK.
And now I get the error message at the top of my Websites and Domains:
Code:
New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] pcre_compile() failed: nothing to repeat in "*.php" at "*.php" in /etc/nginx/plesk.conf.d/vhosts/mydomain.co.uk.conf:47 nginx: configuration file /etc/nginx/nginx.conf test failed . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter
I've tried to generate the broken configuration files but it still has the error.
Can you suggest a solution to the problem? Is there a file I can edit to restore the file to the original settings?
Many thanks