Skip to content

Commit 7eb6986

Browse files
authored
Merge pull request #77 from igorbenav/igorbenav-patch-1
Update README.md
2 parents d66b3ea + 719088b commit 7eb6986

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,6 +1428,8 @@ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload
14281428
# CMD ["gunicorn", "app.main:app", "-w", "4", "-k", "uvicorn.workers.UvicornWorker". "-b", "0.0.0.0:8000"]
14291429
```
14301430

1431+
And finally head to `http://localhost/docs`.
1432+
14311433
#### 6.2.1 One Server
14321434
If you want to run with one server only, your setup should be ready. Just make sure the only part that is not a comment in `deafult.conf` is:
14331435
```python
@@ -1447,6 +1449,8 @@ server {
14471449
}
14481450
```
14491451

1452+
So just type on your browser: `http://localhost/docs`.
1453+
14501454
#### 6.2.2 Multiple Servers
14511455
NGINX can distribute incoming network traffic across multiple servers, improving the efficiency and capacity utilization of your application.
14521456

@@ -1476,6 +1480,9 @@ server {
14761480
}
14771481
}
14781482
```
1483+
1484+
And finally, on your browser: `http://localhost/docs`.
1485+
14791486
> [!WARNING]
14801487
> Note that we are using `fastapi1:8000` and `fastapi2:8000` as examples, you should replace it with the actual name of your service and the port it's running on.
14811488

0 commit comments

Comments
 (0)