Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

非443端口挂载https访问本机存储的文件会回落到443 #7484

Closed
4 tasks done
vecHao opened this issue Nov 8, 2024 · 2 comments
Closed
4 tasks done

非443端口挂载https访问本机存储的文件会回落到443 #7484

vecHao opened this issue Nov 8, 2024 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@vecHao
Copy link

vecHao commented Nov 8, 2024

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.39.1

Driver used / 使用的存储驱动

本机存储

Describe the bug / 问题描述

用网页非443端口https访问vps本机存储的文件会指向默认443端口的地址然后报错,特别是443监听了其他web服务,会爆证书错误。

浏览器控制台 Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID 我这里443是另外一个域名的证书。

Reproduction / 复现链接

Config / 配置

"site_url": "https://example.io",

"scheme": {
"address": "0.0.0.0",
"http_port": -1,
"https_port": 5244,
"force_https": true,
"cert_file": "data/f.cer",
"key_file": "data/k.key",
"unix_file": "",
"unix_file_perm": ""
},

Logs / 日志

@vecHao vecHao added the bug Something isn't working label Nov 8, 2024
@vecHao
Copy link
Author

vecHao commented Nov 8, 2024

在config中域名拼接端口可以暂时解决:
"site_url": "https://example.io:5244", 好像不太优雅?

@xhofe xhofe added the duplicate This issue or pull request already exists label Nov 8, 2024
Copy link

github-actions bot commented Nov 8, 2024

Hello @vecHao, your issue is a duplicate and will be closed.
你好 @vecHao,你的issue是重复的,将被关闭。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants