Create external application via a config file

tiptap

New Member
#1
Hey

I'm managing an OLS server via runcloud and they have turned off the WebAdmin annoyingly!

I'd like to add an external application however I can't find anywhere in the documentation on how to do that with a config file.

the virtual host part is all setup and working.

Thanks
 

Cold-Egg

Administrator
#2
Hi,
Although you can not use web admin more, you can change the config from the runcloud panel. May I know what application you want to add? And do you want to add on the virtual host level?
 

tiptap

New Member
#3
I noticed in RC that they allow the editing of the config.... just couldnt find any documentation regarding adding to config directly.

What I want to do is proxypass a https://api.mydomain.com/ to 127.0.0.1:8055

I set up the redirect correctly in the config;

RewriteRule ^(.*)$ http://127.0.0.1:8055/$1 [P,L]

However i get a 500 error with the log reporting the following;

[REWRITE] Proxy target is not defined on external application list, please add a 'web server' with name '127.0.0.1:8055'

All documentation I'm reading on adding a proxy target to an external application relates only to the webadmin, but possibly im looking in the wrong place :D
 

Cold-Egg

Administrator
#4
Top