Skip to content

Commit 817cbc7

Browse files
committed
Fix problems upgrade letsencrypt thanks @jaapmarcus
1 parent cce4788 commit 817cbc7

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

install/deb/templates/web/nginx/php-fpm/moodle.stpl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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;

install/deb/templates/web/nginx/php-fpm/moodle.tpl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)