Update README.md
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
```
|
||||
|
||||
3. Access your application:
|
||||
- Web server: `https://localhost:8443`
|
||||
- Web server: `https://localhost`
|
||||
|
||||
## Configuration
|
||||
- **Nginx**: Configuration files are located in the `nginx` directory.
|
||||
@@ -37,17 +37,17 @@ To generate a self-signed SSL certificate and `dhparam.pem`, follow these steps:
|
||||
|
||||
1. Create the `nginx/ssl` directory if it doesn't exist:
|
||||
```sh
|
||||
mkdir -p nginx/ssl
|
||||
mkdir ssl
|
||||
```
|
||||
|
||||
2. Generate a self-signed SSL certificate:
|
||||
```sh
|
||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout nginx/ssl/key.pem -out nginx/ssl/cert.pem
|
||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ssl/key.pem -out ssl/cert.pem
|
||||
```
|
||||
|
||||
3. Generate a `dhparam.pem` file:
|
||||
```sh
|
||||
openssl dhparam -out nginx/ssl/dhparam.pem 2048
|
||||
openssl dhparam -out ssl/dhparam.pem 2048
|
||||
```
|
||||
|
||||
These files will be used by Nginx for SSL termination.
|
||||
|
||||
Reference in New Issue
Block a user