I'm running WonderCMS on docker behind an HAProxy. Running on docker the root url is 192.168.1.150:8089. This means that all of the urls start 192.168.1.150:8089/pagename.
Is there somewhere i can amend / set this default url to reflect the url i want to display to the internet. This will be something like www.mybusinessname.com.
Cheers
Nick
Change root url
Re: Change root url
Hey nick.
There is no real way to set a "base URL" within WonderCMS.
Would something like this help? https://github.com/robiso/wondercms/issues/47 (user with similar issue provided a fix)
Quote from the GitHub thread:
There is no real way to set a "base URL" within WonderCMS.
Would something like this help? https://github.com/robiso/wondercms/issues/47 (user with similar issue provided a fix)
Quote from the GitHub thread:
Dear @robiso your'e welcome.
Please have a look at https://github.com/katakombi/wondercms/ ... inx-docker where I forked wondercms and added a Dockerfile plus the related nginx/php configs.
This builds a container which hosts a wondercms in user space under port 8080.
For that docker needs to share the wondercms location under /var/www/html.
What users need to have is in particular the proper
https://github.com/katakombi/wondercms/ ... stcgi.conf
and https://github.com/katakombi/wondercms/ ... fg/default
Re: Change root url
Hey Nick. Thought of another idea.
If you don't mind running a customized version of WonderCMS - can you also try changing the function url and hard code your website URL?
Also interested if you've possibly solved this already?
If you don't mind running a customized version of WonderCMS - can you also try changing the function url and hard code your website URL?
Also interested if you've possibly solved this already?