简体   繁体   English

如何配置Nginx公开服务

[英]How to configure nginx to serve to public

after much research, I can't find a definitive answer. 经过大量研究,我找不到确切的答案。

I have: - a domain with Godaddy - nginx - Linux server 我有:-与Godaddy共享的域-Nginx-Linux服务器

How do I configure nginx so that when people go to www.mydomain.com (example), they are served from my own nginx? 如何配置nginx,以便当人们访问www.mydomain.com(示例)时,可以通过我自己的nginx为他们提供服务?

I'm looking for a basic approach to purely just set up nginx to serve to the public. 我正在寻找一种基本方法来纯粹设置nginx以服务于公众。

i think u should use docker. 我认为你应该使用码头工人。 İf u use yor docker on amazone. 如果在amazone上使用docker。 I think, u can set up your ngnix to serve to the public. 我认为,您可以设置您的ngnix服务于公众。

if u decide use your nginx with docker on amazone look this page for help. 如果您决定将nginx与amazone上的docker一起使用,请查看此页面以寻求帮助。

https://hub.docker.com/_/nginx/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM