URL: https://www.overclockers.at/coding-stuff/nginx-spotweb-website-kaput_266140/page_1 - zur Vollversion wechseln!
Aloha!
Hab auf meinem NAS spotweb laufen, Zugriff erfolgt über nginx auf Port 1650.
Seit einem update funktionierts aber nicht mehr richtig.
So sollts aussehen:
Seit update:
Nginx config:
Code:server { # Change these settings to match your machine. listen 1650; server_name spotweb; large_client_header_buffers 12 128k; # These are the log locations, you should not have to change these. access_log /var/log/nginx/spotweb_access.log; error_log /var/log/nginx/spotweb_error.log; # This is the root web folder for nZEDb, you shouldn't have to change this. root /var/www/spotweb/; index index.html index.htm index.php; # Everything below this should not be changed unless noted. location ~* \.(?:ico|css|js|gif|inc|txt|gz|xml|png|jpe?g) { expires max; add_header Pragma public; add_header Cache-Control "public, must-revalidate, proxy-revalidate"; } location / { try_files $uri $uri/ @rewrites; } location @rewrites { rewrite ^/([^/\.]+)/([^/]+)/([^/]+)/? /index.php?page=$1&id=$2&subpage=$3 last; rewrite ^/([^/\.]+)/([^/]+)/?$ /index.php?page=$1&id=$2 last; rewrite ^/([^/\.]+)/?$ /index.php?page=$1 last; } location ~ \.php$ { include /etc/nginx/fastcgi_params; # Uncomment the following line and comment the .sock line if you want to use TCP. #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php/php8.4-fpm.sock; # The next two lines should go in your fastcgi_params fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } }
Zitat aus einem Post von D00MSAYERSeit einem update funktionierts aber nicht mehr richtig.
Ich schätze das Upgrade wird dir den PHP Upstream verändert haben e.g. anderer Socket. Würde mich in /run/php mal umsehen.
@colo: update über die OMV Service-Seite, dort startet dann apt.
Leider nix in den Logs (spotweb/omv-seite)
@nexus: config verweist auf richtige php fpm version und service war auch aktiv.
Läuft jetzt wieder.
hab die nginx config der OMV Service Seite kopiert und fürs spotweb angepasst.
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026