I have my hosts with HETZNER in Germany. There I can install a "minimal" Linux, which is Debian 9.3 minimal. After installing that, I downloaded and installed the F1. I was not asked any questions during installation, so it seemed everything went smoothly. Yet, after finishing the installation I tried to reach the admin interface, but only get a "502 Bad Gateway" error.
Now I have the following assumption: The host runs internally with an address 172.31.1.100. On the outside it has a public IPv4 address. I thought that NGINX is somehow wrongly configured and not listening/working with this NAT arrangement. But this is provided by the hoster, and I cant do anything about.
Then, I also checked the logfiles and was surprised to see that somehow the PHP-FPM module seems to cause trouble. If I am not wrong, the F1 expects or call "php5-fpm", but the Debian Linux has php-fpm (which is 7?) "on-board". So, the call of php5-fpm runs empty and causes an "file not found" error in the log.
So, can anybody please enlighten me, what the issue is? I understood the manual that I only have to install a fresh Debian and then download and install F1. I didn't expect to run into this kind of trouble. I am quite ok with configuring Apache, but I am not at all used to NGINX. Maybe someone could help me, if it really has to do with the "local address" 172.31.1.100.
What I also noticed is, that the Cert is being issued to "localhost.localdomain" whereas the hostname is different and this always throws an error in the browser, be it firefox or another one. How do I change that again?
Your help would be much appreciated!
Kind regards,
Olaf.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have my hosts with HETZNER in Germany. There I can install a "minimal" Linux, which is Debian 9.3 minimal. After installing that, I downloaded and installed the F1. I was not asked any questions during installation, so it seemed everything went smoothly. Yet, after finishing the installation I tried to reach the admin interface, but only get a "502 Bad Gateway" error.
Now I have the following assumption: The host runs internally with an address 172.31.1.100. On the outside it has a public IPv4 address. I thought that NGINX is somehow wrongly configured and not listening/working with this NAT arrangement. But this is provided by the hoster, and I cant do anything about.
Then, I also checked the logfiles and was surprised to see that somehow the PHP-FPM module seems to cause trouble. If I am not wrong, the F1 expects or call "php5-fpm", but the Debian Linux has php-fpm (which is 7?) "on-board". So, the call of php5-fpm runs empty and causes an "file not found" error in the log.
So, can anybody please enlighten me, what the issue is? I understood the manual that I only have to install a fresh Debian and then download and install F1. I didn't expect to run into this kind of trouble. I am quite ok with configuring Apache, but I am not at all used to NGINX. Maybe someone could help me, if it really has to do with the "local address" 172.31.1.100.
What I also noticed is, that the Cert is being issued to "localhost.localdomain" whereas the hostname is different and this always throws an error in the browser, be it firefox or another one. How do I change that again?
Your help would be much appreciated!
Kind regards,
Olaf.
OK, solved the problem by installing Debian 8 and not 9....