чем плохо два локейшена ? 2017-03-15 18:01 GMT+05:00 valmon <nginx-fo...@forum.nginx.org>:
> Нет, чтобы не делать два location > location ~* ^.+\.(xml|ini|bin|sql|log)$ { > deny all; > return 403; > } > location ~* ^/(hosts|core|patches|db|others)/ { > deny all; > return 403; > } > > Posted at Nginx Forum: https://forum.nginx.org/read. > php?21,272923,272960#msg-272960 > > _______________________________________________ > nginx-ru mailing list > nginx-ru@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-ru >
_______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru