Hallo ich habe ein problem mit nginx undzwwahr habe ich mir das so wie im internet beschriebn configurirt aber wenn ich auf die webseite will kommt der Fehler
502 Bad Gateway
nginx/1.10.3
meine nginx.conf sieht so aus:
Code
vents {
worker_connections 768;
# multi_accept on;
}
http{
server{
listen 80;
server_name 192.168.178.53;
root /home/pi/webseite/seite1;
location / {
index index.html index.htm index.php;
}
location ~ \.php$ {
#If a file isn’t found, 404
try_files $uri =404;
#Include Nginx’s fastcgi configuration
include /etc/nginx/fastcgi.conf;
#Look for the FastCGI Process Manager at this location
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
error_page 404 /404.php;
}
gzip on;
gzip_types text/plain application/xml;
charset utf-8;
}
Alles anzeigen
kann mir jemand sagen wo der Fehler ist ?
Vielen dank für die Hilfe...