A reverse proxy for a turbosrc api endpoint.
Follow instructions (e.g. edits) per nginx-example.conf
.
You'll need the following files (names could be different) on your nginx server,
/etc/nginx/nginx.conf
and in a relative path (you'll have to define in you're .conf
where asked in the .conf
).
turbosrc-nginx-ssl-info/
YOUR_DOMAIN.key
YOUR_DOMAIN.ca-bundle
YOUR_DOMAIN_chain.crt
YOUR_DOMAIN.crt
YOUR_DOMAIN.csr
FYI can prepend your file names above however you want.
The YOUR_DOMAIN.key
is the private key (not 100% that's what it is) used to sign the info contained in the .csr
file.
To check for syntax errors in you nginx.conf
nginx -t
To start the nginx server
sudo systemctl restart nginx
To reload (e.g. after a config change)
sudo nginx -s reload