『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: 咸味土豆

[经验分享] hassio配置SSL及反向代理最简单的方法:Nginx Proxy Manager

  [复制链接]

14

主题

79

帖子

411

积分

中级会员

Rank: 3Rank: 3

积分
411
金钱
332
HASS币
0
发表于 2022-7-22 14:12:19 | 显示全部楼层
本帖最后由 pisice 于 2022-7-22 14:38 编辑

楼主,我用的是阿里证书,没有.CER文件,只有KEY和PEM文件,怎么导入?
回复

使用道具 举报

75

主题

1976

帖子

8183

积分

元老级技术达人

积分
8183
金钱
6157
HASS币
430

活跃会员教程狂人

 楼主| 发表于 2022-7-25 08:53:45 | 显示全部楼层
pisice 发表于 2022-7-22 14:12
楼主,我用的是阿里证书,没有.CER文件,只有KEY和PEM文件,怎么导入?

好像都可以,跟后缀没关系
所有过往,皆为序章。
回复

使用道具 举报

47

主题

1657

帖子

6692

积分

论坛元老

Rank: 8Rank: 8

积分
6692
金钱
5025
HASS币
40
发表于 2022-7-26 12:42:05 | 显示全部楼层
Access Lists也设置一下,方便一些无需用户名和密码登陆的内网IP认证用:这个Access Lists啥意思,最近折腾反代,一切顺利
折腾精神永存,感恩感谢论坛每一位愿意分享和帮助过我的大佬,论坛有你更精彩
回复

使用道具 举报

1

主题

10

帖子

68

积分

注册会员

Rank: 2

积分
68
金钱
58
HASS币
0
发表于 2023-3-18 00:42:30 | 显示全部楼层
我这边Nginx Proxy Manager 设置都没有问题,为什么我的http和https都不行,虚拟机安装的ha和op
回复

使用道具 举报

0

主题

22

帖子

96

积分

注册会员

Rank: 2

积分
96
金钱
74
HASS币
0
发表于 2023-7-21 14:57:40 | 显示全部楼层
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh

-----------------------------------------------------------
Add-on: Nginx Proxy Manager
Manage Nginx proxy hosts with a simple, powerful interface
-----------------------------------------------------------
Add-on version: 0.12.3
You are running the latest version of this add-on.
System: Debian GNU/Linux 11 (bullseye)  (aarch64 / qemuarm-64)
Home Assistant Core: 2023.7.2
Home Assistant Supervisor: 2023.07.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
cont-init: info: running /etc/cont-init.d/mysql.sh
[14:56:42] ERROR: This add-on now requires the MariaDB core add-on 2.0 or newer!
[14:56:42] FATAL: Make sure the MariaDB add-on is installed and running
cont-init: info: /etc/cont-init.d/mysql.sh exited 1
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
cont-init: info: running /etc/cont-init.d/npm.sh
[14:56:45] ERROR: Got unexpected response from the API: Service not enabled
jq: error: syntax error, unexpected $end (Unix shell quoting issues?) at <top-level>, line 6:
    | .database.port =                       
jq: 1 compile error
cont-init: info: /etc/cont-init.d/npm.sh exited 0
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
prog: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

安装了
打不开 不知道咋回事
回复

使用道具 举报

0

主题

22

帖子

96

积分

注册会员

Rank: 2

积分
96
金钱
74
HASS币
0
发表于 2023-7-21 15:00:20 | 显示全部楼层
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh

-----------------------------------------------------------
Add-on: Nginx Proxy Manager
Manage Nginx proxy hosts with a simple, powerful interface
-----------------------------------------------------------
Add-on version: 0.12.3
You are running the latest version of this add-on.
System: Debian GNU/Linux 11 (bullseye)  (aarch64 / qemuarm-64)
Home Assistant Core: 2023.7.2
Home Assistant Supervisor: 2023.07.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
cont-init: info: running /etc/cont-init.d/mysql.sh
[14:56:42] ERROR: This add-on now requires the MariaDB core add-on 2.0 or newer!
[14:56:42] FATAL: Make sure the MariaDB add-on is installed and running
cont-init: info: /etc/cont-init.d/mysql.sh exited 1
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
cont-init: info: running /etc/cont-init.d/npm.sh
[14:56:45] ERROR: Got unexpected response from the API: Service not enabled
jq: error: syntax error, unexpected $end (Unix shell quoting issues?) at <top-level>, line 6:
    | .database.port =                       
jq: 1 compile error
cont-init: info: /etc/cont-init.d/npm.sh exited 0
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
prog: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

安装了 打不开 不知道咋回事
回复

使用道具 举报

75

主题

1976

帖子

8183

积分

元老级技术达人

积分
8183
金钱
6157
HASS币
430

活跃会员教程狂人

 楼主| 发表于 2023-7-24 08:46:40 | 显示全部楼层
wp861010 发表于 2023-7-21 15:00
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successf ...

日志提示了:[14:56:42] ERROR: This add-on now requires the MariaDB core add-on 2.0 or newer!

可以尝试先升级一下MariaDB 数据库的版本试试。
所有过往,皆为序章。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-27 05:39 , Processed in 0.238307 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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