http://winginx.com/htaccess
resulted :
=====================
# nginx configuration
index index.php;
charset off;
location ~ /(media|skin|js)/ {
}
location /api {
rewrite ^/api/rest /api.php?type=rest break;
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}
}
location /RELEASE_NOTES.txt {
deny all;
}
================
But I already have a 'location' settings in my nginx.conf:
========================
location / {
root /var/www/html;
index index.php index.html index.htm;
fastcgi_param REDIRECT_STATUS 200;
}
===================
how can i merge both of this?