Skip to content

Commit cb214c6

Browse files
author
Till Brehm
committed
Fixed a regex in ispconfig and apps vhost for nginx: https://www.howtoforge.com/community/threads/possible-bug-in-a-nginx-regex.68948/
1 parent 6c16276 commit cb214c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/tpl/nginx_apps.vhost.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ server {
1212
}
1313

1414
# serve static files directly
15-
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
15+
location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
1616
access_log off;
1717
}
1818

install/tpl/nginx_ispconfig.vhost.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ server {
1919
}
2020

2121
# serve static files directly
22-
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
22+
location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
2323
access_log off;
2424
}
2525

0 commit comments

Comments
 (0)