Nothing fancy
This commit is contained in:
parent
883d483797
commit
73098f00c1
|
@ -117,11 +117,6 @@ function matrix_nginx {
|
||||||
nginx_limits $DEFAULT_DOMAIN_NAME '15m'
|
nginx_limits $DEFAULT_DOMAIN_NAME '15m'
|
||||||
echo ' }' >> $matrix_nginx_site
|
echo ' }' >> $matrix_nginx_site
|
||||||
echo '' >> $matrix_nginx_site
|
echo '' >> $matrix_nginx_site
|
||||||
echo ' # Fancy URLs' >> $matrix_nginx_site
|
|
||||||
echo ' location @matrix {' >> $matrix_nginx_site
|
|
||||||
echo ' rewrite ^(.*)$ /index.php?p=$1 last;' >> $matrix_nginx_site
|
|
||||||
echo ' }' >> $matrix_nginx_site
|
|
||||||
echo '' >> $matrix_nginx_site
|
|
||||||
echo ' # Restrict access that is unnecessary anyway' >> $matrix_nginx_site
|
echo ' # Restrict access that is unnecessary anyway' >> $matrix_nginx_site
|
||||||
echo ' location ~ /\.(ht|git) {' >> $matrix_nginx_site
|
echo ' location ~ /\.(ht|git) {' >> $matrix_nginx_site
|
||||||
echo ' deny all;' >> $matrix_nginx_site
|
echo ' deny all;' >> $matrix_nginx_site
|
||||||
|
|
Loading…
Reference in New Issue