Skip to content

Commit a4c0e13

Browse files
Merge pull request hestiacp#627 from n1trux/master
fix dokuwiki nginx template
2 parents 745769d + 3f314d1 commit a4c0e13

File tree

26 files changed

+26
-26
lines changed

26 files changed

+26
-26
lines changed

install/debian/7/templates/web/nginx/php5-fpm/dokuwiki.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ server {
3232
}
3333
}
3434

35-
location ^~ /lib/ {
35+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3636
expires 30d;
3737
}
3838

install/debian/7/templates/web/nginx/php5-fpm/dokuwiki.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ server {
2828
}
2929
}
3030

31-
location ^~ /lib/ {
31+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3232
expires 30d;
3333
}
3434

install/debian/8/templates/web/nginx/php5-fpm/dokuwiki.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ server {
3232
}
3333
}
3434

35-
location ^~ /lib/ {
35+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3636
expires 30d;
3737
}
3838

install/debian/8/templates/web/nginx/php5-fpm/dokuwiki.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ server {
2828
}
2929
}
3030

31-
location ^~ /lib/ {
31+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3232
expires 30d;
3333
}
3434

install/rhel/5/templates/web/nginx/php-fpm/dokuwiki.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ server {
3232
}
3333
}
3434

35-
location ^~ /lib/ {
35+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3636
expires 30d;
3737
}
3838

install/rhel/5/templates/web/nginx/php-fpm/dokuwiki.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ server {
2828
}
2929
}
3030

31-
location ^~ /lib/ {
31+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3232
expires 30d;
3333
}
3434

install/rhel/6/templates/web/nginx/php-fpm/dokuwiki.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ server {
3232
}
3333
}
3434

35-
location ^~ /lib/ {
35+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3636
expires 30d;
3737
}
3838

install/rhel/6/templates/web/nginx/php-fpm/dokuwiki.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ server {
2828
}
2929
}
3030

31-
location ^~ /lib/ {
31+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3232
expires 30d;
3333
}
3434

install/rhel/7/templates/web/nginx/php-fpm/dokuwiki.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ server {
3232
}
3333
}
3434

35-
location ^~ /lib/ {
35+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3636
expires 30d;
3737
}
3838

install/rhel/7/templates/web/nginx/php-fpm/dokuwiki.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ server {
2828
}
2929
}
3030

31-
location ^~ /lib/ {
31+
location ~ ^/lib.*\.(gif|png|ico|jpg)$ {
3232
expires 30d;
3333
}
3434

0 commit comments

Comments
 (0)