Update README.md

This commit is contained in:
2024-10-17 16:35:18 +00:00
parent 5420d232ad
commit 2102f83f95

View File

@@ -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.