Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (17 sloc) 0.405 kb
# This is a sample Nginx configuration for Elefant.
# Add these to your server{} block, making sure to
# adjust the root path and add any additional
# configurations you require.
location ^~ /conf/ {
deny all;
return 403;
}
location ~ ^/(cache|apps|tests)/.*\.(php|sql)$ {
deny all;
return 403;
}
location / {
root /var/www/nginx-default;
index index.php;
try_files $uri $uri/ /index.php?$args;
}
Jump to Line
Something went wrong with that request. Please try again.