Something I've not seen before (I must have missed something really stupid), but I'm getting
No input file specified
When attempting to access a local instance I have running. My NGINX config looks correct
server {
include /home/domain/flarum/.nginx.conf;
server_name domain.com www.domain.com;
listen x.x.x.x;
root /home/domain/flarum/public;
index index.php index.htm index.html;
access_log /var/log/virtualmin/domain.com_access_log;
error_log /var/log/virtualmin/domain.com_error_log;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_FILENAME /home/domain/public_html$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT /home/domain/public_html;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTPS $https;
location ~ \.php(/|$) {
try_files $uri $fastcgi_script_name =404;
fastcgi_pass unix:/var/php-nginx/1625667434133001.sock/socket;
}
fastcgi_split_path_info ^(.+\.php)(/.+)$;
listen x.x.x.x:443 ssl http2;
ssl_certificate /home/domain/ssl.combined;
ssl_certificate_key /home/domain/ssl.key;
if ($scheme = http) {
rewrite ^/(?!.well-known)(.*) https://domain.com/$1 break;
}
}
Please someone restore my sanity !! 🙂