We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
你好, 请问部署在远程服务器以后怎么打开后台呢?
The text was updated successfully, but these errors were encountered:
后台是一个网页,当然是通过域名打开了(说白了就是通过“网址”打开),网址是什么?你自己定呀。两种方法:
hosts
127.0.0.1 api.picuploader.com
其中这意思就是告诉浏览器,api.picuploader.com这个“网址”对应的ip是“127.0.0.1”,也就是本机ip(为什么127.0.0.1是本机ip,这是规定的,任何电脑/手机上的127.0.0.1都表示本机)
api.picuploader.com
而现在你部署到了服务器上,你服务器肯定有一个ip吧?假设你服务器ip是23.45.67.78,那么你只要把hosts文件改成下面这样就ok了:
23.45.67.78
23.45.67.78 api.picuploader.com
当然,api.picuploader.com是对应你服务器上nginx配置文件里的server_name的
server_name
example.com
www.example.com
Sorry, something went wrong.
好的,谢谢大佬
No branches or pull requests
你好,
请问部署在远程服务器以后怎么打开后台呢?
The text was updated successfully, but these errors were encountered: