vps
本帖最后由 deyu 于 2025-8-24 04:16 编辑vps This image uses a self-signed certificate by default. This naturally means the scheme is https. If you are using a reverse proxy which validates certificates, you need to disable this check for the container. https 30001端口访问设置密码不生效
生效的 0.0 发表于 2025-8-5 01:08
生效的
给一个 yml配置看一下,我写了不生效 本帖最后由 deyu 于 2025-8-5 01:26 编辑
自然卷的气质 发表于 2025-8-5 00:57
This image uses a self-signed certificate by default. This naturally means the scheme is https. If y ...
我没反代,就用它给的默认配置跑了一下发现3001不需要密码也能登录 deyu 发表于 2025-8-5 01:19
给一个 yml配置看一下,我写了不生效
CUSTOM_USER Username for HTTP Basic Auth. Defaults to abc.
PASSWORD Password for HTTP Basic Auth. If unset, authentication is disabled.
就这两个变量,是不是密码缓存了,你开个隐私试试 0.0 发表于 2025-8-5 01:36
就这两个变量,是不是密码缓存了,你开个隐私试试
这两个变量是不是在 http模式下生效,
如果使用了 CUSTOM_HTTPS_PORT Internal HTTPS port. Defaults to 3001.这个3001端口是不是就无效了 deyu 发表于 2025-8-5 01:38
这两个变量是不是在 http模式下生效,
如果使用了 CUSTOM_HTTPS_PORT Internal HTTPS port. Defaults to...
试了下是生效的,最简配置:
---
version: "2.1"
services:
webtop:
image: lscr.io/linuxserver/webtop:latest
container_name: webtop
ports:
- 30011:3001 # HTTPS 端口
environment:
- TZ=Asia/Shanghai
- CUSTOM_USER=admin
- PASSWORD=123123
restart: unless-stopped
本帖最后由 deyu 于 2025-8-5 16:32 编辑
0.0 发表于 2025-8-5 13:01
试了下是生效的,最简配置:
:hug: 谢谢老哥,还差个证书,要是能弄个证书就好了,证书这块不太会哦,我能舔到证书的代码吗,没域名,想https://加ip访问 deyu 发表于 2025-8-5 16:23
谢谢老哥,还差个证书,要是能弄个证书就好了,证书这块不太会哦,我能舔到证书的代码吗,没域名, ...
通过HTTPS访问就是加密的,只不过证书是自签的浏览器不认而已,不影响加密,纯IP证书不好搞
页:
[1]
2
