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

一键脚本部署修改端口号 #180

Open
weiyuluohuxin opened this issue Dec 12, 2024 · 4 comments
Open

一键脚本部署修改端口号 #180

weiyuluohuxin opened this issue Dec 12, 2024 · 4 comments

Comments

@weiyuluohuxin
Copy link

No description provided.

@weiyuluohuxin
Copy link
Author

想问一下,一键脚本部署的博客,怎么通过直接访问域名的方式访问,而不是域名:端口号,新手,对nginx不是很熟悉

@mkersonJ
Copy link

用nginx代理

@weiyuluohuxin
Copy link
Author

用nginx代理

大佬能不能详细讲下
刚接触这方面的东西,不太懂

@weiyuluohuxin
Copy link
Author

用nginx代理

研究明白了,先把docker内的nginx容器删掉,然后重新映射端口就行了,但是脚本里写的那个运行docker的启动命令有点问题,挂载目录写错了(脚本运行的时候没问题,但自己改的时候那个目录是空的),应该改为aurora_shell/blog_web,后面那个同样

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