2021年9月7日星期二

xray 基于nginx一键脚本,直接访问域名=emby套域名https tls

ubuntu 20下测试OK

准备好域名,用xray一键脚本基于nginx的

bash <(curl -Ss https://raw.githubusercontent.com/paniy/Xray_bash_onekey/main/install.sh)

选择3

搭建好后

编辑 /etc/idleleo/conf/nginx/xray-server.conf


 location / 改成如下就行


        location /

        {

        # Proxy main Jellyfin traffic

        proxy_pass http://127.0.0.1:8096;

        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 X-Forwarded-Proto $scheme;

        proxy_set_header X-Forwarded-Protocol $scheme;

        proxy_set_header X-Forwarded-Host $http_host;

        

        # Disable buffering when the nginx proxy gets very resource heavy upon streaming

        proxy_buffering off;

        }



参考:
https://www.262235.xyz/index.php/archives/141/

openwrt在线编译 插件名字查找

openwrt在线编译 https://firmware-selector.staging.immortalwrt.org/ 插件名字查找 https://downloads.staging.immortalwrt.org/releases/23.05.1/packages/x8...