Block access to every file in the site but index.htm

atipico nginx-forum at
Fri Feb 18 05:00:23 MSK 2011

I have a site with just one file: index.htm witch have some ajax linked
to php files. I'd like to make thouse php files only accessable via ajax
(post and get) coming from this index file and block access to all files
but the index.htm. Is it possible in Nginx? Thanks.

Posted at Nginx Forum:,176352,176352#msg-176352

More information about the nginx mailing list