Back to Changelog
Panel Backend
v1.0.510
Suspending an account no longer blocks configuration changes for every other domain on the server.
Improvements
2- On startup the panel repairs vhost files that were already written with a duplicate root location: it regenerates every affected vhost, validates the configuration once, and restores the previous files byte for byte if validation still fails - so the repair can never leave nginx in a worse state than it found it. Servers without an affected vhost are left completely untouched.
- Updated installations now receive corrected vhost templates automatically. The template on disk is refreshed when it predates this fix, so the correction reaches servers that update the binary only.
Bug Fixes
2- Suspending a domain wrote an invalid nginx vhost containing two "location /" blocks in the same server block. nginx validates the entire configuration at once, so that single file made every later configuration change fail server-wide - changing the PHP version of an unrelated site returned "nginx config test failed" until the file was repaired by hand.
- A suspended site could override its own suspension through its personal nginx include. The panel now keeps the suspension block and leaves that include out of the affected server block, as it already did for maintenance mode and forced HTTPS.