Hey
I'm trying to run GRAV in a subfolder of my main website in a different root folder. So far I get only File not found. by visting my site under https://my.site/news/.
My nginx code for GRAV is:
# GRAV
location ^~ /news {
alias /srv/http/grav/;
index index.php index.html index.htm;
rewrite ^/news/(.*)+$ /news/index.php?$1;
try_files $uri $uri/ /news/index.php?$query_string;
## Begin - PHP
location ~ \.php$ {
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
## End - PHP
}
What am I missing here?