This commit is contained in:
Dallas Lu 2026-06-05 12:54:22 +08:00
parent 2d8e5e7340
commit 8c0e6e29a1
No known key found for this signature in database
4 changed files with 10 additions and 0 deletions

View file

@ -7,6 +7,15 @@ git clone https://git.forge.st/ops/nginx-kit.git /opt/nginx-kit
ln -s /opt/nginx-kit /etc/nginx/kit
```
### Update
```bash
cd /opt/nginx-kit
git pull
nginx -t
systemctl reload nginx
```
## Usage
In server block:

View file

@ -13,6 +13,7 @@ server {
index index.html index.htm;
include snippets/cert/mydomain.com.conf;
include kit/security.conf;
include kit/ssl/security.conf;
include kit/ssl/hsts.conf;
include kit/redirect/to-primary-domain.conf;

View file

View file