edit nginx proxy_pass

A_g

Verified User
Joined
Jan 25, 2022
Messages
12
Hi,
I am trying to edit proxy_pass from Custom HTTPD Configurations.
i checked this : https://docs.directadmin.com/webservices/apache/customizing.html
but there is no option to edit th http/https , example:
location /
{
proxy_pass https://IP:8081;
}
I want to change it to " proxy_pass http://IP:8081;"
i tried |?PROXY_PASS=http://IP:8081;| and |?PROXY_PASS=http://127.0.0.1:8080| didn't work
 
Last edited:
Hi,
yea i tried this, forgot to add "=" in my post
any other ideas?
 
Tried what? A working solution posted in the article? If it did not work for you, let us know what errors you got?
 
Hi,
I will try to be clear as possible.
I set this in "httpd custom" |?PROXY_PASS=http://127.0.0.1:8080|
it saves the new configuration, BUT, nothing changes, the configuration stays the same.
 
It would probably mean the guide is not followed in a full, or you have custom templates already modified before the guide.
 
you are right when i copy the original file from templete to custom directory, Its works now!!
tnx
 
Back
Top