Skip to content

Commit e2d1da5

Browse files
committed
update README
1 parent db0ae0b commit e2d1da5

1 file changed

Lines changed: 9 additions & 18 deletions

File tree

‎README.md‎

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,13 @@ load-balances incoming requests across the three backends.
7373

7474
## Getting started
7575

76-
### 1. Build and run the three web app instances
76+
## 1. Clone this repository alone
77+
78+
```bash
79+
git clone git@github.com:DevCTx/Nginx.git
80+
```
81+
82+
### 2. Build and run the three web app instances
7783

7884
```bash
7985
cd webapp
@@ -92,7 +98,7 @@ published on a distinct host port:
9298

9399
You can verify each instance directly: http://localhost:3001, `:3002`, `:3003`.
94100

95-
### 2. Configure NGINX
101+
### 3. Configure NGINX
96102

97103
Copy the site configuration into `/etc/nginx/sites-available/webapp`, enable it,
98104
and disable the default site to free port 80/8080:
@@ -105,27 +111,12 @@ sudo nginx -t
105111
sudo systemctl reload nginx
106112
```
107113

108-
### 3. Open the app through NGINX
114+
### 4. Open the app through NGINX
109115
http://localhost:8080 (or https://localhost once TLS is configured).
110116

111-
112-
---
113-
114-
## Clone this repository alone
115-
116-
```bash
117-
git clone git@github.com:DevCTx/Nginx.git
118-
```
119-
120117
---
121118

122119
## Submodule of DevOps Repository
123120

124121
> This repository is used as a **submodule** in **PART2-Fundamentals** of my **DevOps** repository:
125122
> https://github.com/DevCTx/DevOps
126-
127-
When cloning the parent **DevOps** repository, include this submodule with:
128-
129-
```bash
130-
git clone --recurse-submodules git@github.com:DevCTx/DevOps.git
131-
```

0 commit comments

Comments
 (0)