File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
install/deb/templates/web/nginx/php-fpm Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,6 @@ server {
4646 return 403;
4747 }
4848
49- # Block access to "hidden" files and directories whose names begin with a
50- # period. This includes directories used by version control systems such
51- # as Subversion or Git to store control files.
52- location ~ (^|/)\. {
53- return 403;
54- }
55-
5649 location / {
5750 location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
5851 expires max;
Original file line number Diff line number Diff line change @@ -42,13 +42,6 @@ server {
4242 return 403;
4343 }
4444
45- # Block access to "hidden" files and directories whose names begin with a
46- # period. This includes directories used by version control systems such
47- # as Subversion or Git to store control files.
48- location ~ (^|/)\. {
49- return 403;
50- }
51-
5245 location / {
5346 location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
5447 expires max;
You can’t perform that action at this time.
0 commit comments