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

如何实现多站点搭建在同一服务器上 #268

Open
ghost opened this issue Jun 1, 2020 · 5 comments
Open

如何实现多站点搭建在同一服务器上 #268

ghost opened this issue Jun 1, 2020 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 1, 2020

打算把代理和论坛都放在一个服务器上 看网上的教程都说需要安装nginx,但是脚本安装的nginx好像是在jsproxy用户下的 有没有什么方法,让jsproxy使用docker安装的nginx?

非常感谢。

@EtherDream
Copy link
Owner

EtherDream commented Jun 5, 2020 via email

@QChWnd
Copy link

QChWnd commented Jun 5, 2020

选其中一个Nginx反代另一个就好了。当然首先要把被反代的那个的端口切到非80/444。

@ghost
Copy link
Author

ghost commented Jun 5, 2020 via email

@fudingyu
Copy link

这个 nginx 是 OpenResty 的,里面用到了 lua 功能,论坛的 nginx 也是 OpenResty 吗? 如果是的话,把相关的 conf 整合到论坛的 nginx conf 里就可以了。 SangOwen notifications@github.com 于2020年6月1日周一 下午8:40写道:

打算把代理和论坛都放在一个服务器上 看网上的教程都说需要安装nginx,但是脚本安装的nginx好像是在jsproxy用户下的 有没有什么方法,让jsproxy使用docker安装的nginx? 非常感谢。 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#268>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIF5E3BYYGYMEMXULAODF3RUOOVNANCNFSM4NPZFINA .

可以和一个非OpenResty的Nginx装在一起吗???

@fudingyu
Copy link

选其中一个Nginx反代另一个就好了。当然首先要把被反代的那个的端口切到非80/444。

反代之后,需要再搞给JSProxy安装一个带OpenResty的Nginx?

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

3 participants