Make sure the proxy is transparent, and forwards the hostname the users type in the browser address bar, and that that hostname matches the hostname used when/if the installation was registered.
so i cant use the cloudflared ? i tried that use another DDNS and open my filrun's port to internet ,it works . but its not safe, so i need change which anything else ?
Make sure the proxy is transparent, and forwards the hostname the users type in the browser address bar, and that that hostname matches the hostname used when/if the installation was registered.
so i cant use the cloudflared ?
i tried that use another DDNS and open my filrun's port to internet ,it works .
but its not safe, so i need change which anything else ?
I have solved this problem now
Because my English is poor, I can only explain it in Chinese. If someone has the same environment and problems as me, you can refer to me.
我在traefik的配置文件链接出来的中间件文件securityHeaders@file: "fileConfig.yml"
fileConfig文件下,我原来是使用如下配置:
http:routers:filerun: entryPoints: https rule: 'Host(`file.XXXX.XX`)' service: filerun # middlewares: # - "auth"
services: filerun: loadBalancer: servers: - url: http://filerun:8888/
但是上面的配置文件出现了502错误,
我的安装环境是unraid+traefik+cloudflared+authelia+dockersocket+redis
我的docker自定义网络也已经将filerun设置进去了.并保证了以上的服务都在同一个自定义docker自定义网络环境内
最后我很偶然的配置将上面的内网地址http://filerun:8888/替换成了http://192.168.50.249:8888/
结果就是他成功通向了外网,现在可以使用外网进行访问了,
我不知道问题出在哪里,也许是filerun本身的问题,我只是一个新手,因为我使用通用的traefik模板,都是使用这样http://'dockername':8888/的形式,只需要替换对应的域名和'dockername'就能访问