Nginx-Virtualmin : virtual server template
- by Zulkhaery Basrul
I want to edit nginx server template. I want every new virtual server created to use some specific nginx server configs and location settings.
I want to add this line each time virtualmin created a server:
if (!-f $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
break;
}
Where can i find it? or what is the best way to add these line automatic ?