|
@@ -117,11 +117,6 @@ function matrix_nginx {
|
117
|
117
|
nginx_limits $DEFAULT_DOMAIN_NAME '15m'
|
118
|
118
|
echo ' }' >> $matrix_nginx_site
|
119
|
119
|
echo '' >> $matrix_nginx_site
|
120
|
|
- echo ' # Fancy URLs' >> $matrix_nginx_site
|
121
|
|
- echo ' location @matrix {' >> $matrix_nginx_site
|
122
|
|
- echo ' rewrite ^(.*)$ /index.php?p=$1 last;' >> $matrix_nginx_site
|
123
|
|
- echo ' }' >> $matrix_nginx_site
|
124
|
|
- echo '' >> $matrix_nginx_site
|
125
|
120
|
echo ' # Restrict access that is unnecessary anyway' >> $matrix_nginx_site
|
126
|
121
|
echo ' location ~ /\.(ht|git) {' >> $matrix_nginx_site
|
127
|
122
|
echo ' deny all;' >> $matrix_nginx_site
|