Hello, I am having a tough time converting my .htaccess rewrite rules into Nginx, any help will be greatly appreciated.
Here is what I need converting
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/server-info
RewriteCond %{REQUEST_URI} !^/server-status
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} (.*).(gif|jpg|jpeg|png)$
RewriteRule ^(.*) http://%{http_host}/pictures/no_picture.jpg
RewriteRule ^video/([-_!~*'()a-zA-Z0-9]+)-([-_!~*'()a-zA-Z0-9]+) http://%{http_host}/?L=video.index&id=$2
Thanks