Spaces:
Running
Running
Update nginx.conf
Browse files- nginx.conf +3 -2
nginx.conf
CHANGED
@@ -9,6 +9,7 @@ http {
|
|
9 |
listen 7860;
|
10 |
server_name localhost;
|
11 |
|
|
|
12 |
location ~ .*\.(json)?$ {
|
13 |
proxy_pass https://yande.re;
|
14 |
proxy_set_header Host yande.re;
|
@@ -23,8 +24,8 @@ http {
|
|
23 |
proxy_set_header Accept-Encoding "";
|
24 |
sub_filter_types *;
|
25 |
#test
|
26 |
-
sub_filter "https://files.yande.re/" "http://
|
27 |
-
sub_filter "https://assets.yande.re/" "http://
|
28 |
#test
|
29 |
sub_filter_once off;
|
30 |
}
|
|
|
9 |
listen 7860;
|
10 |
server_name localhost;
|
11 |
|
12 |
+
|
13 |
location ~ .*\.(json)?$ {
|
14 |
proxy_pass https://yande.re;
|
15 |
proxy_set_header Host yande.re;
|
|
|
24 |
proxy_set_header Accept-Encoding "";
|
25 |
sub_filter_types *;
|
26 |
#test
|
27 |
+
sub_filter "https://files.yande.re/" "http://rogerxavier-pixiv.hf.space/files/";
|
28 |
+
sub_filter "https://assets.yande.re/" "http://rogerxavier-pixiv.hf.space/assets/";
|
29 |
#test
|
30 |
sub_filter_once off;
|
31 |
}
|