LibreTime is currently running on the same host as the reverse proxy as advised I wish to change the LibreTime web server default listening port and would appreciate a pointer as to the location of the file I need to amend.
Server blocking is in place (as I’m able to see the confirmation message) and can confirm the reverse proxy is functional as I’m able to dry run certbot renewal process successfully.
You can either run the installer again with --listen-port 8080 which should update the libretime nginx server configuration (/etc/nginx/sites-available/libretime.conf). Or edit the configuration file yourself.
Sorry to bother you again but I’ve now encountered another conundrum.
When I run the Nginx -t command I get the following error message:
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2023-01-17 19:41:01 GMT; 10s ago
Docs: man:nginx(8)
Process: 2877951 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Jan 17 19:41:01 ubuntu-s-1vcpu-2gb-ams3-01 systemd[1]: Starting A high performance web server and a reverse proxy server…
Jan 17 19:41:01 ubuntu-s-1vcpu-2gb-ams3-01 nginx[2877951]: nginx: [emerg] host not found in upstream “libretime” in /etc/nginx/sites>
Jan 17 19:41:01 ubuntu-s-1vcpu-2gb-ams3-01 nginx[2877951]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 17 19:41:01 ubuntu-s-1vcpu-2gb-ams3-01 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Jan 17 19:41:01 ubuntu-s-1vcpu-2gb-ams3-01 systemd[1]: nginx.service: Failed with result ‘exit-code’.
Jan 17 19:41:01 ubuntu-s-1vcpu-2gb-ams3-01 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
I’ve checked both the nginx and libretime conf files both are listening on my re-configured to listen on the new port address.
The UFW and droplet firewalsl are configured to allow traffic through.