im trying to block URL https://1.1.1.1/~admin/ with nginx location
} location ~* ~admin/ { deny all; return 403; } } location ^~ ~admin/ { deny all;