Results 1 to 5 of 5
Threaded View
-
28th Mar 2012, 09:09 PM #4Member
Eidt config file as ;
Code:server { listen *:80; location / { root /var/www/html; index index.php index.html; # if file exists return it right away if (-f $request_filename) { break; } # otherwise rewrite the f**ker if (!-e $request_filename) { rewrite ^(.+)$ /index.php$1 last; break; } }
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Need help about NGINX!
By FootStep in forum Server ManagementReplies: 9Last Post: 20th Jul 2012, 04:50 PM -
Nginx php help
By MediaStar in forum Server ManagementReplies: 10Last Post: 25th Apr 2012, 03:20 PM -
Plesk and nginx
By Webmin in forum Technical and Security TutorialsReplies: 8Last Post: 5th Mar 2012, 08:39 PM -
Litespeed or nginx?
By .:Raymond:. in forum Hosting DiscussionReplies: 9Last Post: 10th Oct 2011, 09:36 AM -
torrentflux nginx possible?
By bachbell in forum Server ManagementReplies: 13Last Post: 9th Oct 2011, 02:21 AM
themaPoster - post to forums and...
Version 5.41 released. Open older version (or...