Sorry, I had not checked which of the available sites are enabled. I am running another website and compared its configuration to CollEc's configuration. Nginx and Certbot were set up identically. Apart from the domain name, the file in sites-enabled and nginx.conf were identical - line for line. The error source is somewhere outside of it. So, I reinstalled Certbot, but that turned out breaking it even more. I do not know what else to do. Since there are multiple websites deployed on Helos, I am not reinstalling Nginx. I have to say that I am somewhat fed up with deploying CollEc on Helos. I containerized all but two of CollEc's components: Nginx and Certbot. And Certbot keeps breaking all the time. It either gets uninstalled completely or just stops working. I have been running the same setup for a different website on another server for more than 1.5 years and have not had a single issue with Nginx or Certbot on that machine. Is there another server that I could deploy CollEc on? I am tired of repeatedly being confronted with expired certificates. Christian Düben Doctoral Candidate Chair of Macroeconomics Hamburg University Germany christian.dueben@uni-hamburg.de https://www.christian-dueben.com -----Original Message----- From: Thomas Krichel <krichel@openlib.org> Sent: Samstag, 1. April 2023 06:02 To: Düben, Christian <Christian.Dueben@uni-hamburg.de> Cc: CollEc Run <collec-run@lists.openlib.org> Subject: Re: [CollEc] Reboot Düben, Christian writes
The issue might be worldbank.repec.org~.
I removed it. root@helos ~ # rm /etc/nginx/sites-available/*~
That file defines a server listening not just at port 80, but at port 80 default_server. That conflicts with what default defines and might be the reason why Certbot runs into a 404.
But that file was in /etc/nginx/sites-available, and not linked from /etc/nginx/sites-enabled, thus exceedingly unlikely to used by nginx. -- Written by Thomas Krichel http://openlib.org/home/krichel on his 21120th day.