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

可以增加部署可道云、nextcloud等私有云的选项吗 #3

Open
coloraven opened this issue Feb 28, 2021 · 6 comments
Open

Comments

@coloraven
Copy link

如题。

@amefs
Copy link
Owner

amefs commented Feb 28, 2021

有可能会增加。这部分内容会在 lite 版实现以后移植。

@coloraven
Copy link
Author

有可能会增加。这部分内容会在 lite 版实现以后移植。

感谢大佬无私奉献,另外,从昨天到今天一直在折腾这个quickbox-arm,提一个不太成熟的建议,quickbox-arm会强制开启https,这导致我公网无法访问家里的arm设备,比如我arm设备是家里主路由下的设备,分配IP为192.168.1.100,主路由映射公网8081到192.168.1.100的80端口,如果不关闭https,则必定会通过443端口来进行https请求,而443端口也是运营商屏蔽端口之一。是否可以安装时选择是否开启HTTPS呢?

@amefs
Copy link
Owner

amefs commented Mar 1, 2021

不打算专门为这个功能做一个开关,但是你可以自行删除 nginx default 配置文件的301 跳转功能以及 ssl 相关代码
此处

    location / {
      return 301 https://$host$request_uri;
.....
    include snippets/ssl-params.conf;

https 主要还是为了安全问题

@coloraven
Copy link
Author

不打算专门为这个功能做一个开关,但是你可以自行删除 nginx default 配置文件的301 跳转功能以及 ssl 相关代码
此处

    location / {
      return 301 https://$host$request_uri;
.....
    include snippets/ssl-params.conf;

https 主要还是为了安全问题

嗯嗯,知道是为了安全,感谢您的耐心指导。
请问您意思是将/etc/QuickBox下面的nginx模板文件中13-15,20-25这几行给删掉或注释掉,然后再重新安装一次吗?

@amefs
Copy link
Owner

amefs commented Mar 1, 2021

在安装完成的情况下,直接删除 /etc/nginx/sites-enabled/default 中相应的内容,重启 nginx 即可

nginx -t
nginx -s reload

@coloraven
Copy link
Author

在安装完成的情况下,直接删除 /etc/nginx/sites-enabled/default 中相应的内容,重启 nginx 即可

nginx -t
nginx -s reload

好嘞,我试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants