mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Placeholder {{server_name}} with wrong replacement #79
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Code-TT on 6/24/2025
CloudPanel version(s) affected
2.5.1
Description
When I use the placeholder {{server_name}} in the vhost editor, it gets replaced incorrectly in the config file. Instead of www, www1 is set.
server_name test.org www1.test.org;
instead of
server_name test.org www1.test.org;
How to reproduce
Replace your vhost Template with a new one with placeholder server_name.
Possible Solution
No response
Additional Context
No response