From 498b4a8f894d5df6ef482e2c3dd71a7037fb64c6 Mon Sep 17 00:00:00 2001 From: admin <3234374354@qq.com> Date: Fri, 7 Feb 2025 09:55:09 +0000 Subject: [PATCH] =?UTF-8?q?[2025-02-07=2009:55:09]-=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- log/access.log | 14 ++++++++++++++ log/error.log | 8 ++++++++ proxy/Alist.conf | 15 +++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 proxy/Alist.conf diff --git a/log/access.log b/log/access.log index 7f23dc5f..8d328805 100644 --- a/log/access.log +++ b/log/access.log @@ -61,3 +61,17 @@ 10.147.17.152 - - [06/Feb/2025:14:31:58 +0000] "GET /videos/Big%20Buck%20Bunny_1080P_60fps.mp4 HTTP/1.1" 304 0 "http://10.147.17.161:8012/videos/template-video.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "-" 10.147.17.152 - - [06/Feb/2025:14:41:27 +0000] "GET /videos/Big%20Buck%20Bunny_1080P_60fps.mp4 HTTP/1.1" 206 229590602 "http://10.147.17.161:8012/videos/template-video.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "-" 10.147.17.152 - - [06/Feb/2025:15:58:35 +0000] "GET /videos/Big%20Buck%20Bunny_1080P_60fps.mp4 HTTP/1.1" 206 491520 "http://10.147.17.161:8012/videos/template-video.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "-" +10.147.17.152 - - [07/Feb/2025:09:54:08 +0000] "GET / HTTP/1.1" 200 716 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "-" +10.147.17.152 - - [07/Feb/2025:09:54:08 +0000] "GET /favicon.ico HTTP/1.1" 404 659 "http://10.147.17.161:8012/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "-" +10.147.17.28 - - [07/Feb/2025:09:54:15 +0000] "GET / HTTP/1.1" 200 716 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 SafeLine-CE/v7-6-2" "-" +10.147.17.28 - - [07/Feb/2025:09:54:20 +0000] "GET / HTTP/1.1" 200 716 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 SafeLine-CE/v7-6-2" "-" +10.147.17.28 - - [07/Feb/2025:09:54:20 +0000] "GET /favicon.ico HTTP/1.1" 404 659 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 SafeLine-CE/v7-6-2" "-" +10.147.17.28 - - [07/Feb/2025:09:54:38 +0000] "GET / HTTP/1.1" 200 716 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "198.176.54.89" +10.147.17.28 - - [07/Feb/2025:09:54:39 +0000] "GET /favicon.ico HTTP/1.1" 404 659 "https://o.nmgjg.com.cn/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "198.176.54.89" +10.147.17.28 - - [07/Feb/2025:09:54:47 +0000] "GET /AList HTTP/1.1" 404 659 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "198.176.54.89" +10.147.17.28 - - [07/Feb/2025:09:55:00 +0000] "GET / HTTP/1.1" 200 716 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 SafeLine-CE/v7-6-2" "-" +10.147.17.28 - - [07/Feb/2025:09:55:05 +0000] "GET /Alist HTTP/1.1" 200 1594 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "198.176.54.89" +10.147.17.28 - - [07/Feb/2025:09:55:06 +0000] "GET /assets/index.3d57b177.js HTTP/1.1" 404 659 "https://o.nmgjg.com.cn/Alist" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "198.176.54.89" +10.147.17.28 - - [07/Feb/2025:09:55:06 +0000] "GET /assets/index.c4c82a28.css HTTP/1.1" 404 659 "https://o.nmgjg.com.cn/Alist" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "198.176.54.89" +10.147.17.28 - - [07/Feb/2025:09:55:07 +0000] "GET /assets/index.3d57b177.js HTTP/1.1" 404 659 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "198.176.54.89" +10.147.17.28 - - [07/Feb/2025:09:55:07 +0000] "GET /static/manifest.json HTTP/1.1" 404 659 "https://o.nmgjg.com.cn/Alist" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "198.176.54.89" diff --git a/log/error.log b/log/error.log index 419d60c4..7bee522b 100644 --- a/log/error.log +++ b/log/error.log @@ -30,3 +30,11 @@ 2025/02/06 12:43:43 [error] 134#134: *10915 open() "/www/sites/o.nmgjg.com.cn/index/videos/video.mp4" failed (2: No such file or directory), client: 10.147.17.152, server: o.nmgjg.com.cn, request: "GET /videos/video.mp4 HTTP/1.1", host: "10.147.17.161:8012", referrer: "http://10.147.17.161:8012/videos/template-video.html" 2025/02/06 12:43:46 [error] 135#135: *10927 open() "/www/sites/o.nmgjg.com.cn/index/favicon.ico" failed (2: No such file or directory), client: 10.147.17.152, server: o.nmgjg.com.cn, request: "GET /favicon.ico HTTP/1.1", host: "10.147.17.161:8012", referrer: "http://10.147.17.161:8012/videos/template-video.html" 2025/02/06 12:43:47 [error] 135#135: *10927 open() "/www/sites/o.nmgjg.com.cn/index/favicon.ico" failed (2: No such file or directory), client: 10.147.17.152, server: o.nmgjg.com.cn, request: "GET /favicon.ico HTTP/1.1", host: "10.147.17.161:8012", referrer: "http://10.147.17.161:8012/videos/template-video.html" +2025/02/07 09:54:08 [error] 157#157: *14869 open() "/www/sites/o.nmgjg.com.cn/index/favicon.ico" failed (2: No such file or directory), client: 10.147.17.152, server: o.nmgjg.com.cn, request: "GET /favicon.ico HTTP/1.1", host: "10.147.17.161:8012", referrer: "http://10.147.17.161:8012/" +2025/02/07 09:54:20 [error] 157#157: *14873 open() "/www/sites/o.nmgjg.com.cn/index/favicon.ico" failed (2: No such file or directory), client: 10.147.17.28, server: o.nmgjg.com.cn, request: "GET /favicon.ico HTTP/1.1", host: "o.nmgjg.com.cn" +2025/02/07 09:54:39 [error] 157#157: *14874 open() "/www/sites/o.nmgjg.com.cn/index/favicon.ico" failed (2: No such file or directory), client: 10.147.17.28, server: o.nmgjg.com.cn, request: "GET /favicon.ico HTTP/1.1", host: "o.nmgjg.com.cn", referrer: "https://o.nmgjg.com.cn/" +2025/02/07 09:54:47 [error] 157#157: *14874 open() "/www/sites/o.nmgjg.com.cn/index/AList" failed (2: No such file or directory), client: 10.147.17.28, server: o.nmgjg.com.cn, request: "GET /AList HTTP/1.1", host: "o.nmgjg.com.cn" +2025/02/07 09:55:06 [error] 157#157: *14874 open() "/www/sites/o.nmgjg.com.cn/index/assets/index.3d57b177.js" failed (2: No such file or directory), client: 10.147.17.28, server: o.nmgjg.com.cn, request: "GET /assets/index.3d57b177.js HTTP/1.1", host: "o.nmgjg.com.cn", referrer: "https://o.nmgjg.com.cn/Alist" +2025/02/07 09:55:06 [error] 157#157: *14880 open() "/www/sites/o.nmgjg.com.cn/index/assets/index.c4c82a28.css" failed (2: No such file or directory), client: 10.147.17.28, server: o.nmgjg.com.cn, request: "GET /assets/index.c4c82a28.css HTTP/1.1", host: "o.nmgjg.com.cn", referrer: "https://o.nmgjg.com.cn/Alist" +2025/02/07 09:55:07 [error] 157#157: *14881 open() "/www/sites/o.nmgjg.com.cn/index/assets/index.3d57b177.js" failed (2: No such file or directory), client: 10.147.17.28, server: o.nmgjg.com.cn, request: "GET /assets/index.3d57b177.js HTTP/1.1", host: "o.nmgjg.com.cn" +2025/02/07 09:55:07 [error] 157#157: *14881 open() "/www/sites/o.nmgjg.com.cn/index/static/manifest.json" failed (2: No such file or directory), client: 10.147.17.28, server: o.nmgjg.com.cn, request: "GET /static/manifest.json HTTP/1.1", host: "o.nmgjg.com.cn", referrer: "https://o.nmgjg.com.cn/Alist" diff --git a/proxy/Alist.conf b/proxy/Alist.conf new file mode 100644 index 00000000..e8a83a19 --- /dev/null +++ b/proxy/Alist.conf @@ -0,0 +1,15 @@ +location ^~ /Alist { + proxy_pass http://192.168.0.160:5244; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header REMOTE-HOST $remote_addr; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_http_version 1.1; + add_header X-Cache $upstream_cache_status; + add_header Cache-Control no-cache; + proxy_ssl_server_name off; + proxy_ssl_name $proxy_host; +} \ No newline at end of file