Lord_Carlos hat geschrieben: 05.04.2020 12:22:07
/etc/nginx/conf.d/ ist leer oder?
Nein da liegt eine default.conf:
Code: Alles auswählen
server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
Aber darin sehe ich den Fehler nicht, da sich ja da keine SSL-Konfigurationen befinden.
Lord_Carlos hat geschrieben: 05.04.2020 12:22:07
Wie hast du die installiert?
Ist ja nicht aus dem debian repo, also vielleicht liegt alles unter
/opt/?
/var/log/nginx/error.log mal nachgeguckt?
journalctl -u nginx
Ich hab die nginx Repos eingebunden, weil mit der "alten" Nginx-Version gar kein TSL 1.3 möglich ist. Installiert habe ich das wie folgt:
Code: Alles auswählen
echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx deb-src http://nginx.org/packages/mainline/debian/ stretch nginx" > /etc/apt/sources.list.d/nginx.list
wget -qO - https://nginx.org/keys/nginx_signing.key | sudo apt-key add -
apt update
apt remove nginx-common
apt install nginx
Die Configs habe ich natürlich beibehalten. Aber ich finde da auch keine Fehler...
in /opt/ liegt nur eine weitere php-Version, der Certbot und ein metronome-ordner wo ich selber gerade nicht weis, was das war
journalctl -u nginx wirft folgendes aus:
Code: Alles auswählen
Apr 05 11:54:12 server systemd[1]: Starting nginx - high performance web server...
Apr 05 11:54:12 server nginx[27121]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/000-ispconfig.vhost:4
Apr 05 11:54:12 server systemd[1]: Started nginx - high performance web server.
Das sieht aber auch nicht unbedingt nach dem Problem aus, welches ich suche. Oder sehe ich da was falsch?
Nachtrag: Ich habe noch bei der ispconfig.vhost folgendes geändert:
Code: Alles auswählen
listen 8080 ssl;
listen [::]:8080 ipv6only=on;
ssl_protocols TLSv1.2 TLSv1.3;
Jetzt ist der Fehler: Apr 05 11:54:12 server nginx[27121]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/000-ispconfig.vhost:4 weg.