-
Notifications
You must be signed in to change notification settings - Fork 93
Epic 472 port nginx one labs #681
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview will be available once build job completes!
|
|
||
## Introduction | ||
|
||
This guide shows you how to run a demo backend application and multiple NGINX OSS and Plus containers with Docker. The backend application runs in three `nginxinc/ingress-demo` containers, each serving a simple web page. You’ll also link each NGINX container to NGINX One Console for management and monitoring. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This guide shows you how to run a demo backend application and multiple NGINX OSS and Plus containers with Docker. The backend application runs in three `nginxinc/ingress-demo` containers, each serving a simple web page. You’ll also link each NGINX container to NGINX One Console for management and monitoring. | |
This guide shows you how to run a demo backend application and multiple NGINX Open Source and NGINX Plus containers with Docker. The backend application runs in three `nginxinc/ingress-demo` containers, each serving a simple web page. You’ll also link each NGINX container to NGINX One Console for management and monitoring. |
- **Instance availability** | ||
Understand the operational state of each instance. | ||
- **Online**: Agent and NGINX are connected and working. | ||
- **Offline**: Agent is running but NGINX isn’t installed, isn’t running, or can’t talk to the agent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **Offline**: Agent is running but NGINX isn’t installed, isn’t running, or can’t talk to the agent. | |
- **Offline**: Agent is running but NGINX isn’t installed, isn’t running, or can’t talk to the Agent. |
- **Unknown**: Current state can’t be determined. | ||
|
||
- **NGINX versions by instance** | ||
See which NGINX OSS or Plus versions your instances are running. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See which NGINX OSS or Plus versions your instances are running. | |
See which NGINX Open Source or NGINX Plus versions your instances are running. |
--username "$JWT" --password-stdin | ||
``` | ||
|
||
8. Pull a Docker (replace version as needed). Subject to availability, you can replace the agent with the specific NGINX Plus version, OS type, and OS version you need. Here we are going to pull the r31 version of NGINX+ on alpine to demonstrate that.See [Pulling the image]({{< ref "nginx/admin-guide/installing-nginx/installing-nginx-docker.md#pull-the-image" >}}). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8. Pull a Docker (replace version as needed). Subject to availability, you can replace the agent with the specific NGINX Plus version, OS type, and OS version you need. Here we are going to pull the r31 version of NGINX+ on alpine to demonstrate that.See [Pulling the image]({{< ref "nginx/admin-guide/installing-nginx/installing-nginx-docker.md#pull-the-image" >}}). | |
8. Pull a Docker (replace version as needed). Subject to availability, you can replace the Agent with the specific NGINX Plus version, OS type, and OS version you need. Here we are going to pull the R31 version of NGINX Plus on Alpine Linux to demonstrate that. See [Pulling the image]({{< ref "nginx/admin-guide/installing-nginx/installing-nginx-docker.md#pull-the-image" >}}). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R34? (R31 reached EoSD in May 2024)
8. Pull a Docker (replace version as needed). Subject to availability, you can replace the agent with the specific NGINX Plus version, OS type, and OS version you need. Here we are going to pull the r31 version of NGINX+ on alpine to demonstrate that.See [Pulling the image]({{< ref "nginx/admin-guide/installing-nginx/installing-nginx-docker.md#pull-the-image" >}}). | ||
|
||
```shell | ||
docker pull private-registry.nginx.com/nginx-plus/agent:nginx-plus-r31-alpine-3.19-20240522 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r34?
listen 9000 ssl; # Listener for Stub Status | ||
|
||
ssl_certificate /etc/ssl/nginx/30-day.crt; | ||
ssl_certificate_key /etc/ssl/nginx/30-day.key; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ssl_certificate_key /etc/ssl/nginx/30-day.key; | |
ssl_certificate_key /etc/ssl/nginx/30-day.key; |
ssl_certificate /etc/ssl/nginx/cars.crt; | ||
ssl_certificate_key /etc/ssl/nginx/cars.key; | ||
|
||
ssl_protocols TLSv1.1 TLSv1.3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ssl_protocols TLSv1.1 TLSv1.3; | |
ssl_protocols TLSv1.2 TLSv1.3; |
@@ -0,0 +1,176 @@ | |||
Apache License |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about Apache License here, perhaps it should be clarified with SMEs:
- our license for docs is 2-clause BSD license
- we never published any licenses before
Proposed changes
Write a clear and concise description that helps reviewers understand the purpose and impact of your changes. Use the
following format:
Problem: Give a brief overview of the problem or feature being addressed.
Solution: Explain the approach you took to implement the solution, highlighting any significant design decisions or
considerations.
Testing: Describe any testing that you did.
Please focus on (optional): If you any specific areas where you would like reviewers to focus their attention or provide
specific feedback, add them here.
If this PR addresses an issue on GitHub, ensure that you link to it here:
Closes #ISSUE
Checklist
Before merging a pull request, run through this checklist and mark each as complete.
README.md
andCHANGELOG.md
Footnotes
Potentially sensitive changes include anything involving code, personally identify information (PII), live URLs or significant amounts of new or revised documentation. Please refer to our style guide for guidance about placeholder content. ↩