how can I setup the panel so that I can use it without specifying the port ?
My main domain has SSL and Hestia installs cert when installing the panel. In the config before installation I tried putting 443 as port instead of 8083. Should I put port 80 ?
panel.example.ltd instead of panel.example.ltd:port
May 17, 2023, 10:08pm
You can’t use port 80 or 443 as it is allready occupied by Nginx
so I should edit it to be like this in /usr/local/hestia/nginx/conf/nginx.conf ?
May 17, 2023, 11:02pm
Copy the templates to /usr/local/hestia/data/templates/web/nginx/
And enable it for the domain you want it to be active…
Sorry for asking but how exactly do I enable it for the domain ?
May 17, 2023, 11:20pm
Select under Advanced Options → Proxy template “cp”
Yes I have found it. I havent seen that you have sent link in the previous message. But as I can see it does not work unfortunately. Do I need to rebuild it ?
May 17, 2023, 11:22pm
web-templates/cp.tpl at master · jaapmarcus/web-templates · GitHub
and select it from the same list…
I added both files to : /usr/local/hestia/data/templates/web/nginx/
And then on the panel selected the domain → advanced options → proxy template → cp. Saved but it did not work.
Site loads quite long and then I get this.
Internal Server Error
Oops! Something went wrong.
The server encountered an internal error or misconfiguration and was unable to complete your request.
Error Code: 500
May 17, 2023, 11:36pm
Did you change the Hestia port?
Run v-change-sys-port 8083 to reset it to the default or update the port number in the templates
I didnt change the port, tried the command and restarted the service. Still no luck
May 17, 2023, 11:38pm
Check /var/log/apache2/domains/domain.error.log what the issue is…
May 18, 2023, 12:40am
Unable to connect to the upstream…
Its ok I fixed it. Thank you for your help, much appreciated
One more question. How could I put it behind a cloudflare proxy so that I can use it without a port ?