# Nginx Kit ## Start ```bash 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: ```nginx server { # ... include kit/ssl/force.conf; # ... } ``` ### Tamplates #### SSL Certs ```bash 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: ```nginx server { # ... include snippets/cert/mydomain.com.conf; # ... } ```