MENU

免费稳定图床记录!

常用图床

  1. 流浪图床 - https://p.sda1.dev/
  2. Imgur - https://imgur.com/
  3. 即可图床 - https://jiketuchuang.com/

使用Imgur

由于你懂的原因,Imgur图床在国内是无法正常使用的,不过方法总比困难多。
使用图片缓存服务就可以在国内顺利访问Imgur图片,提供几个目前还能正常使用的网站。

  1. 【国内网宿节点,只能加载特定图床图片如imgur】
    https://search.pstatic.net/common/?src=
  2. 【Akamai节点,没有使用限制】
    https://imageproxy.pimg.tw/resize?url=
  3. 【CloudFlare节点】
    https://images.weserv.nl/?url=
  4. 【CloudFlare节点】
    https://pic1.xuehuaimg.com/proxy/

图片缓存服务使用方法

Imgur图片地址:https://i.imgur.com/ewgKidq.jpg
图片缓存服务地址:https://search.pstatic.net/common/?src=https://i.imgur.com/ewgKidq.jpg

Imgur反代

如果有自己的VPS服务器,我更推荐自己在服务器上反代Imgur,达到稳定访问Imgur图片。

不可使用国内服务器

Nginx 配置:

server {
    listen 80;
    server_name imgur.ihainan.me;
    return 301 https://$host$request_uri;
}

server {
    listen  443 ssl;
    server_name imgur.ihainan.me;

    if ($server_port !~ 443){
        rewrite ^(/.*)$ https://$host$1 permanent;
    }

    location / {
        # Proxy
        proxy_pass https://i.imgur.com/;
        proxy_http_version 1.1;
            
        # Limitations
        client_max_body_size    1000m;
        proxy_read_timeout 300s;
        proxy_send_timeout 300s;

        # Headers
        proxy_set_header Referer "";
        proxy_set_header User-Agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36";
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Upgrade "websocket";
        proxy_set_header Connection "Upgrade";
    }

    ssl_certificate    /etc/letsencrypt/live/ihainan.me/fullchain.pem;
    ssl_certificate_key    /etc/letsencrypt/live/ihainan.me/privkey.pem;
}

将以上代码中的域名imgur.ihainan.me替换成自己反代imgur域名地址,最下面的SSL证书地址也替换成自己的。

部署完成以上反代后,imgur原地址https://i.imgur.com/xxx.jpg 就反代成了 https://imgur.ihainan.me/xxx.jpg

imgur反代转自:https://www.ihainan.me/imgur-redirect-190524/

你不知道的工具 你不知道的导航

若浏览器无法打开文章或视频,请更换使用 [Chrome/Fierfox/Opera/Alook] 等浏览器
无法打开请更换 浏览器 或更换 网络 DNS,被劫持通常是你的网络DNS被劫持污染
若网络无法打开文章或视频,请切换 (电信数据网络运营商) 或 (WIFI),或更改网络DNS(自行百度)

Archives QR Code
QR Code for this page
Tipping QR Code