So I tried installing “Wiki.JS” on my instance and tie it to HestiaCP. However, after I finally managed to get stuff working at least with the IP:Port which I can access it that way, when I try to modify my default.stpl/.tpl to tie it to the Port of the Node Server so I can access it through the URL instead, it simply leads to:
When I run the command “node server” in the “wiki” directory that I created from said guide, I can access it on the IP:3001 (port) like I said, just not the URL even though I changed the URL/Domain to use the template I created, but it simply leads to the 502 in that case.
As I said, it does run when hosted via IP & Port. And yes, I had paused Cloudflare and set it to Proxy only in order to see whether it works, but guess what, it does not. This is a common problem with HestiaCP that I’ve run into with other services as well, and know for a fact that it is a misconfiguration of some sorts with the NGINX Template. Cloudflare is not the problem, as the site loads only via IP & Port, and when I try accessing it via the Domain/URL even with Cloudflare disabled, it does not load properly because NGINX does not proxy correctly.
EDIT: So I suppose the question is, which logs can I check in order to properly figure out why NGINX does not proxy correctly, and what would I have to reconfigure in order for it work.
proxy_pass is for sure non ssl, use https://%ip%:3001 and it should work. Just in case you’ve setup ssl on that port, maybe try without - as for local communication, there is usualy no need for encryption.
That was indeed the solution, thank you so much! Now only to the issue where I have no images load if I do it via URL/Domain, how come? The page is blank unless I enter it via IP & Port
How did you know!? That was the solution again…
I removed all extensions and purged cache, and it then worked… Man I wish I had your knowledge and brain… Can I steal it ?