rogerxavier commited on
Commit
b8ed3bd
·
verified ·
1 Parent(s): c33d2da

Update nginx.conf

Browse files
Files changed (1) hide show
  1. 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://yande.re/files";
27
- sub_filter "https://assets.yande.re/" "http://yande.re/assets";
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
  }