Nginx Server Block with Rewrite
Here is a basic nginx server block with rewrite to the index.php file.
So it takes all the parameters and passes them into the index, into the variable $p or $_GE..
good if you have apache and access to htaccess file to redirect requests to https version of the site. this one also includes a rewrite to index.php so if you don't need this remove the last line.
This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.