ISPConfig Directive Snippets for nginx

Here are my directive snippets for nginx (nginx rewrite urls) which I use in my ISPConfig :

Yourls rewrite if you use yourls

try_files $uri $uri/ /yourls-loader.php;

Chevereto rewrite if use the best images script in the web – chevereto

location / {
index index.php;
client_max_body_size 30m;
client_body_buffer_size 128k;
if (!-e $request_filename) {

rewrite ^/(.*)$ /index.php last;
location /admin {
try_files $uri /admin/index.php?$args;

WordPress nginx rewrite for the best blogging software – wordpress

try_files $uri/ $uri /index.php?q=$uri&$args;

For opencart , use this post

And for clip-bucket, i wrote about in my last post for clip-bucket