location /manager/ { allow 10.10.10.192; deny all; }
location / { allow 192.168.1.1/24; allow 127.0.0.1; deny all; }
location / { auth_basic "Restricted"; auth_basic_user_file /c0xxx/home/.htpasswd; try_files $uri $uri/ @modx-rewrite; }
There was an error with your rewrite rules. Please check the syntax and make sure you've entered them correctly. Errors: nginx: [emerg] duplicate location "/" in 39162.temp.conf:110 nginx: configuration file 39162.temp.conf test failed