Alejandro Oro Vojacek
Basic Pleskian
Username:
TITLE
NGINX only not working when Custom Error Documents is enabled on a WordPress installation
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Version 18.0.45 Update #2
CentOS Linux 7.9.2009 (Core)
PROBLEM DESCRIPTION
When the option Custom Error Documents is enabled, permalinks rewrites won't work natively on NGINX and sites running WordPress are going to throw error 404
Since this option is ENABLED by default, it is creating all kind of issues to people that use their servers only with NGINX.
2 possible fixes to this issue:
An immediate fix for this is needed as we are getting calls from our customers in the middle of the night because their sites start showing 404 errors.
The option seems to be re-enabling all by itself.
STEPS TO REPRODUCE
Go into Apache & NGINX settings -> disable NGINX Proxy.
This will put the server into the nginx-only operation.
Wordpress site under that account will display 404 errors on every page except the homepage.
Go into Hosting Settings -> Untick Custom Error Documents
NGINX will start working properly as the WP Toolkit rewrites will take over.
ACTUAL RESULT
All websites that are switch to nginx native (proxy mode off) will have 404 errors on all pages.
EXPECTED RESULT
As soon as any site PROXY MODE is set to disabled (nginx only), the default behavior should be to make Custom Error Documents disabled to guarantee that nginx rewrites will work.
ANY ADDITIONAL INFORMATION
Make a global option to disable Custom Error Documents server-wide.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out
TITLE
NGINX only not working when Custom Error Documents is enabled on a WordPress installation
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Version 18.0.45 Update #2
CentOS Linux 7.9.2009 (Core)
PROBLEM DESCRIPTION
When the option Custom Error Documents is enabled, permalinks rewrites won't work natively on NGINX and sites running WordPress are going to throw error 404
Since this option is ENABLED by default, it is creating all kind of issues to people that use their servers only with NGINX.
2 possible fixes to this issue:
- Make this option DISABLED by default, which will limit exposure, every new site created is having that option ON and it's a nightmare.
- Have a toogle somewhere to DISABLE Custom Error Documents server-wide so we can get rid of this issue for good.
An immediate fix for this is needed as we are getting calls from our customers in the middle of the night because their sites start showing 404 errors.
The option seems to be re-enabling all by itself.
STEPS TO REPRODUCE
Go into Apache & NGINX settings -> disable NGINX Proxy.
This will put the server into the nginx-only operation.
Wordpress site under that account will display 404 errors on every page except the homepage.
Go into Hosting Settings -> Untick Custom Error Documents
NGINX will start working properly as the WP Toolkit rewrites will take over.
ACTUAL RESULT
All websites that are switch to nginx native (proxy mode off) will have 404 errors on all pages.
EXPECTED RESULT
As soon as any site PROXY MODE is set to disabled (nginx only), the default behavior should be to make Custom Error Documents disabled to guarantee that nginx rewrites will work.
ANY ADDITIONAL INFORMATION
Make a global option to disable Custom Error Documents server-wide.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out