And here it is: location / { index index.html index.php; if (-f $request_filename) { break; } if (!-f $request_filename) { rewrite ^/(.+)$ /index.php?category=$1 last; break; } }by Zhang - Migration from Other Servers
Hello fellow nginx users, i currently port a project from Apache to nginx which runs on sNews ( http://snewscms.com/ ) Since 2 weeks i try now to get the damn rewrite ported, but i have no luck at all. i use Nginx 1.0.5 stable, on Debian 6 64bit, with --configure: --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/locby Zhang - Migration from Other Servers