Skip to content

Commit 09fd4df

Browse files
committed
only proxy mp3 files
1 parent 5842256 commit 09fd4df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nginx.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ http {
6262
default_type application/json;
6363
}
6464

65-
location ^~ /archive.org/ {
65+
location ^~ /archive.org/.*\.mp3 {
6666
# include cors.conf;
6767

6868
set $original_uri '$uri';
@@ -73,7 +73,7 @@ http {
7373
try_files $uri @fetch_archive;
7474
}
7575

76-
location ^~ /phish.in/ {
76+
location ^~ /phish.in/.*\.mp3 {
7777
# include cors.conf;
7878

7979
set $original_uri '$uri';
@@ -84,7 +84,7 @@ http {
8484
try_files $uri @fetch_phishin;
8585
}
8686

87-
location ^~ /www.panicstream.com/ {
87+
location ^~ /www.panicstream.com/.*\.mp3 {
8888
# include cors.conf;
8989

9090
set $original_uri '$uri';

0 commit comments

Comments
 (0)