说明

  • NP: NGINX Plus
  • AG: Admin Guide

目录

1.在Google Cloud Platform上安装NGINX Plus

2.安装NGINX Plus VM

3.如果我需要帮助怎么办?

4.访问NGINX Plus的开源许可证


1.在Google Cloud Platform上安装NGINX Plus

NGINX Plus是高性能应用程序交付平台,负载平衡器和Web服务器,可在Google Cloud Platform上作为虚拟机(VM)映像使用。 VM映像包含最新版本的NGINX Plus,已针对与Google Cloud Platform Compute Engine一起使用进行了优化。

2.安装NGINX Plus VM

要在Google Cloud Platform上快速设置NGINX Plus环境,请执行以下步骤。

注意:Google Cloud Platform介面正在开发中。 尽管我们竭尽全力提供准确的说明,但它们可能会发生变化。 另外,你看到的确切选项取决于你是否有现有项目。

1.访问Google Marketplace中的NGINX Plus页面,然后单击“LAUNCH ON COMPUTE ENGINE”按钮。

nginx realip模块 nginx plus_Google

2.将打开“Select or create a project”窗口。 输入项目名称,然后从“Organization”下拉列表中选择一个值,然后单击“Create”按钮。

nginx realip模块 nginx plus_nginx_02

3.在“Configure & Deploy”窗口中,输入或选择区域,计算机类型等的适当值。 单击Deploy 按钮。

注意:在“Firewall”部分中,确保已选中“Allow HTTP traffic”复选框。 有关控制传入流量的更多信息,请参阅Google Cloud Platform文档中的防火墙规则概述。

nginx realip模块 nginx plus_Google_03

4.单击Create按钮。 Google Developers Console确认已部署NGINX Plus。

nginx realip模块 nginx plus_Google_04

项目部署完成并开始运行新的虚拟机(VM)实例后,NGINX Plus会自动启动并提供默认的index.html页面。 要验证NGINX Plus是否正常运行,请使用Web浏览器访问新VM的公共DNS名称并查看页面。

你还可以通过登录VM并运行以下命令来检查NGINX Plus服务器的状态:

# /etc/init.d/nginx status

3.如果我需要帮助怎么办?

如果你在使用NGINX Plus配置时遇到任何问题,可以在nginx.org和NGINX Plus管理指南中找到文档。

在Google Cloud Platform上购买NGINX Plus VM映像的客户有资格获得NGINX,Inc.工程团队提供的Google Cloud Platform VM支持。 要激活支持,请提交Google Cloud Platform支持激活表格。

4.访问NGINX Plus的开源许可证

NGINX Plus包括由NGINX和其他贡献者编写的开源软件。 《 NGINX Plus参考指南》的附录B中提供了开放源代码许可证的文本。 要访问NGINX Plus VM实例随附的指南,请运行以下命令:

# less /usr/share/nginx/html/nginx-modules-reference.pdf

NGINX Plus参考指南也可在NGINX网站上在线获得。