Skip to content

Commit 26acfd2

Browse files
[feat] update NGINX to uppercase
1 parent 475fae9 commit 26acfd2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

content/guides/angular/containerize.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Mirrored repositories must start with `dhi-`, for example: `FROM <your-namespace
136136
# Stage 1: Build the Angular Application
137137
# =========================================
138138

139-
# Use a lightweight Node.js image for building (customizable via ARG)
139+
# Use a lightweight DHI Node.js image for building
140140
FROM <your-namespace>/dhi-node:24-alpine3.22-dev AS builder
141141

142142
# Set the working directory inside the container
@@ -155,15 +155,15 @@ COPY . .
155155
RUN npm run build
156156

157157
# =========================================
158-
# Stage 2: Prepare Nginx to Serve Static Files
158+
# Stage 2: Prepare NGINX to Serve Static Files
159159
# =========================================
160160

161161
FROM <your-namespace>/dhi-nginx:1.28.0-alpine3.21-dev AS runner
162162

163163
# Copy custom Nginx config
164164
COPY nginx.conf /etc/nginx/nginx.conf
165165

166-
# Copy the static build output from the build stage to Nginx's default HTML serving directory
166+
# Copy the static build output from the build stage to NGINX's default HTML serving directory
167167
COPY --chown=nginx:nginx --from=builder /app/dist/*/browser /usr/share/nginx/html
168168

169169
# Use a non-root user for security best practices
@@ -173,7 +173,7 @@ USER nginx
173173
# Note: The default NGINX container now listens on port 8080 instead of 80
174174
EXPOSE 8080
175175

176-
# Start Nginx directly with custom config
176+
# Start NGINX directly with custom config
177177
ENTRYPOINT ["nginx", "-c", "/etc/nginx/nginx.conf"]
178178
CMD ["-g", "daemon off;"]
179179
```
@@ -209,7 +209,7 @@ COPY . .
209209
RUN npm run build
210210

211211
# =========================================
212-
# Stage 2: Prepare Nginx to Serve Static Files
212+
# Stage 2: Prepare NGINX to Serve Static Files
213213
# =========================================
214214

215215
FROM nginxinc/nginx-unprivileged:${NGINX_VERSION} AS runner

content/guides/angular/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ This manifest defines two key Kubernetes resources, separated by `---`:
8585
- Deployment
8686
Deploys a single replica of your Angular application inside a pod. The pod uses the Docker image built and pushed by your GitHub Actions CI/CD workflow
8787
(refer to [Automate your builds with GitHub Actions](configure-github-actions.md)).
88-
The container listens on port `8080`, which is typically used by [Nginx](https://nginx.org/en/docs/) to serve your production Angular app.
88+
The container listens on port `8080`, which is typically used by [NGINX](https://nginx.org/en/docs/) to serve your production Angular app.
8989

9090
- Service (NodePort)
9191
Exposes the deployed pod to your local machine.

content/guides/angular/develop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Complete [Containerize Angular application](containerize.md).
1515

1616
## Overview
1717

18-
In this section, you'll learn how to set up both production and development environments for your containerized Angular application using Docker Compose. This setup allows you to serve a static production build via Nginx and to develop efficiently inside containers using a live-reloading dev server with Compose Watch.
18+
In this section, you'll learn how to set up both production and development environments for your containerized Angular application using Docker Compose. This setup allows you to serve a static production build via NGINX and to develop efficiently inside containers using a live-reloading dev server with Compose Watch.
1919

2020
You’ll learn how to:
2121
- Configure separate containers for production and development
@@ -97,7 +97,7 @@ services:
9797
path: .
9898
target: /app
9999
```
100-
- The `angular-prod` service builds and serves your static production app using Nginx.
100+
- The `angular-prod` service builds and serves your static production app using NGINX.
101101
- The `angular-dev` service runs your Angular development server with live reload and hot module replacement.
102102
- `watch` triggers file sync with Compose Watch.
103103

0 commit comments

Comments
 (0)