включаю debug как понять почему строку location не использует
location: ~ "^(.*)/\<(.*)$" {
return 404;
}
2019/04/23 11:43:55 [debug] 2737#0: *23 test location: "/"
2019/04/23 11:43:55 [debug] 2737#0: *23 test location: "images/"
2019/04/23 11:43:55 [debug] 2737#0: *23 test location: ~ "^(.*)alert(.*)$"
2019/04/23 11:43:55 [debug] 2737#0: *23 test location: ~
"^(.*)document(.*)$"
2019/04/23 11:43:55 [debug] 2737#0: *23 test location: ~ "\.php"
2019/04/23 11:43:55 [debug] 2737#0: *23 using configuration "\.php"
Posted at Nginx Forum:
https://forum.nginx.org/read.php?21,283878,283882#msg-283882
_______________________________________________
nginx-ru mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-ru