Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 890 Bytes

README.md

File metadata and controls

49 lines (31 loc) · 890 Bytes

tubosrc-nginx

A reverse proxy for a turbosrc api endpoint.

nginx.conf

Follow instructions (e.g. edits) per nginx-example.conf.

Needed files

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.

nginx launch

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