mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Error creating/updating vhost file when updating reverse proxy url #162
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 @e77 on 11/19/2024
CloudPanel version(s) affected
2.4.2
Description
when trying to update the reverse proxy url via the UI the following error is displayed:
Removing lies 14 and 15
results in the following error
incidentally the reverse proxy didn't work anyway - presumably because the url isn't in the vhost file as expected, and it can't be done with regex, so nginx doesn't know where to pass the traffic to.
Eitherway, the vhost file doesn't appear to be created correctly when setting up a reverse proxy.
How to reproduce
Update an existing reverse proxy url (which doesnt work anyway....) via the UI or by tring to edit row 19 of the vhost file via the UI.
Possible Solution
No response
Additional Context
No response