Panel works locally (apache ) and remote fails.
I’m assuming it’s a routing or cache issue. I read that the panel would need to have an install true option
'panel' => [
'install' => true
],
and nginx config {
#kirby
rewrite ^/(content|site|kirby)/(.*)$ /error last;
rewrite ^/\.(?!well-known/) /error last;
rewrite ^/(?!app\.webmanifest)[^/]+$ /index.php last;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
# svg, fonts
location ~* \.(?:svgz?|ttf|ttc|otf|eot|woff2?)$ {
add_header Access-Control-Allow-Origin "*";
expires 220d;
access_log off;
}
# end kirby
access_log off;
error_log /var/log/nginx/site.net-error.log error;
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
error_page 404 /index.php;
location ~ \.php$ {
try_files $uri /index.php =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_buffers 32 32k;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
include fastcgi_params;
}
location ~ /\.(?!well-known).* {
deny all;
}
Nginx config.
No fastcache / ignore cache on Cloudflare and locally
All my kirby4 & 3 sites work fine.
the result from panel is a blank page and no errors…
THanks Ian