No description
| examples | ||
| redirect | ||
| ssl | ||
| templates | ||
| README.md | ||
Nginx Kit
Start
git clone https://git.forge.st/ops/nginx-kit.git /opt/nginx-kit
ln -s /opt/nginx-kit /etc/nginx/kit
Usage
In server block:
server {
# ...
include kit/ssl/force.conf;
# ...
}
Tempaltes
SSL Certs
cd /etc/nginx
mkdir snippets/cert
cp kit/templates/cert-example.com.conf snippets/cert/mydomain.com.conf
vi snippets/cert/mydomain.com.conf
Replace the path with yours, then include in your server block:
server {
# ...
include snippets/cert/mydomain.com.conf;
# ...
}