全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 380|回复: 10

vps

[复制链接]
发表于 2025-8-4 23:22:44 | 显示全部楼层 |阅读模式
本帖最后由 deyu 于 2025-8-24 04:16 编辑

vps
发表于 2025-8-5 00:57:17 | 显示全部楼层
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⁠.
发表于 2025-8-5 01:08:49 | 显示全部楼层
https 30001端口访问设置密码不生效


生效的
 楼主| 发表于 2025-8-5 01:19:48 | 显示全部楼层

给一个 yml配置看一下,我写了不生效
 楼主| 发表于 2025-8-5 01:23:05 | 显示全部楼层
本帖最后由 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不需要密码也能登录
发表于 2025-8-5 01:36:11 | 显示全部楼层
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.

就这两个变量,是不是密码缓存了,你开个隐私试试
 楼主| 发表于 2025-8-5 01:38:40 | 显示全部楼层
0.0 发表于 2025-8-5 01:36
就这两个变量,是不是密码缓存了,你开个隐私试试

这两个变量是不是在 http模式下生效,
如果使用了 CUSTOM_HTTPS_PORT        Internal HTTPS port. Defaults to 3001.  这个3001端口是不是就无效了
发表于 2025-8-5 13:01:41 | 显示全部楼层
deyu 发表于 2025-8-5 01:38
这两个变量是不是在 http模式下生效,
如果使用了 CUSTOM_HTTPS_PORT        Internal HTTPS port. Defaults to  ...

试了下是生效的,最简配置:

  1. ---
  2. version: "2.1"
  3. services:
  4.   webtop:
  5.     image: lscr.io/linuxserver/webtop:latest
  6.     container_name: webtop
  7.     ports:
  8.       - 30011:3001 # HTTPS 端口
  9.     environment:
  10.       - TZ=Asia/Shanghai
  11.       - CUSTOM_USER=admin
  12.       - PASSWORD=123123
  13.     restart: unless-stopped
复制代码
 楼主| 发表于 2025-8-5 16:23:02 | 显示全部楼层
本帖最后由 deyu 于 2025-8-5 16:32 编辑
0.0 发表于 2025-8-5 13:01
试了下是生效的,最简配置:


谢谢老哥,还差个证书,要是能弄个证书就好了,证书这块不太会哦,我能舔到证书的代码吗,没域名,想https://加ip访问
发表于 2025-8-5 17:51:17 | 显示全部楼层
deyu 发表于 2025-8-5 16:23
谢谢老哥,还差个证书,要是能弄个证书就好了,证书这块不太会哦,我能舔到证书的代码吗,没域名, ...

通过HTTPS访问就是加密的,只不过证书是自签的浏览器不认而已,不影响加密,纯IP证书不好搞
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-6 08:23 , Processed in 0.068745 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表