Update README.md
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
2a014e53ba
commit
d8addd4d0c
@ -6,8 +6,8 @@ These are my NGINX configurations. They are written for `nginx-core` with `nginx
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
1. Install `nginx-core`, `nginx-mod-stream`, and `policycoreutils-python-utils` on Fedora. Makesure `rsync` is available on the OS.
|
1. On Fedora, install `nginx-core`, `nginx-mod-stream`, `certbot` and `policycoreutils-python-utils`. On RHEL, install `nginx` from the mainline repository, `certbot`, and `python3-certbot-nginx`. Makesure `rsync` is available on the OS.
|
||||||
2. Comment out the default server block in `/etc/nginx/nginx.conf`.
|
2. On Fedora, comment out the default server block in `/etc/nginx/nginx.conf`. On RHEL, move `/etc/nginx/conf.d/default.conf` to `/etc/nginx/conf.d/default.conf.bk`
|
||||||
3. Run `setup.sh`
|
3. Run `setup.sh`
|
||||||
4. Generate a certificate with your hostname with the `certbot/default-quic` example. Copy `etc/nginx/conf.d/sites_default_quic.conf` to the corresponding directory on your server and edit it approprieately.
|
4. Generate a certificate with your hostname with the `certbot/default-quic` example. Copy `etc/nginx/conf.d/sites_default_quic.conf` to the corresponding directory on your server and edit it approprieately.
|
||||||
5. Generate certificates with the example in the certbot directory.
|
5. Generate certificates with the example in the certbot directory.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user