September 16, 20223 yr 目前的网络环境为爱快+openwrt。参考的张大妈内的教程:https://post.smzdm.com/p/apvlvee9/。 因为是移动网络,使用的ipv6地址。 在unraid上配置了aliyun-ddns及NPM,并做了端口映射,但是在内网和外网都无法使用域名连接unraid。 有尝试使用通过爱快动态域名解析,可以成功从外网登录黑裙。但是同样方法,在外网无法连接unraid。 本论坛内及张大妈的帖子和教程都有尝试修改,都没有成功。 目前无法确定是容器配置的问题或者是路由器防火墙问题,小小白一枚,求大佬指点!
April 30, 20242 yr 10 hours ago, Ventus said: 解决了吗兄弟 #if ($scheme = "http") { # return 301 https://$host$request_uri; #} error_page 497 https://$http_host$request_uri; location / { proxy_pass http://192.168.1.3:80/; proxy_set_header Host $http_host; proxy_redirect http:// https://; proxy_set_header X-Forwarded-Host $http_host; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Scheme $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_http_version 1.1; } 在Proxy Host的advanced设置里加这段,192.168.1.3:80改成unraid本地ip:端口号
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.