euantor
Well-known member
I've recently installed XF for the first time ever on a new VPS running nginx. Everything seems to work just fine, apart from RSS. None of the RSS feed URLs work at all - I just get a nginx 404 error page. I'm pretty sure this is an issue with my vhost config, so if somebody could take a quick look at it below, I'd be extremely grateful:
I also have cgi.fix_path_info set to 0 in my php-fpm/php.ini config if that helps at all.
Thanks in advance!
Code:
server {
index index.html index.php index.htm;
server_name www.f1fanforums.com;
root /var/www/f1fanforums.com/htdocs;
access_log /var/www/f1fanforums.com/log/access.log;
error_log /var/www/f1fanforums.com/log/error.log;
include global/restrictions.conf;
location ~ /(internal_data|library) {
internal;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# With php5-fpm:
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
}
I also have cgi.fix_path_info set to 0 in my php-fpm/php.ini config if that helps at all.
Thanks in advance!