mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Reverse Proxy vhost variables not valid #51
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 @JAP42 on 8/29/2025
CloudPanel version(s) affected
V2.4.2
Description
When generating a Reverse Proxy host all I can get is empty responses or unknown SSL errors.
Vhost is not valid, error message: nginx: [emerg] "proxy_pass" cannot have URI part in location given by regular expression, or inside named location, or inside "if" statement, or inside "limit_except" block in /etc/nginx/sites-enabled/postiz2.jap42.net.conf:19 nginx: configuration file /etc/nginx/nginx.conf test failedWhen trying to update the vhost files I get this error.
How to reproduce
Just generate a new Reverse Proxy. Previous Reverse Proxies work and have the same variable, but new ones wont work.
Possible Solution
Changing the variable to a static value solved the problem.
Additional Context
No response