servnest
/
system
Archived
1
0
Fork 0
This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
system/nginx.md

385 B

Nginx

# apt install nginx libnginx-mod-http-headers-more-filter

libnginx-mod-http-headers-more-filter is required in order to make more_set_headers instructions work

Generate a self-signed certificate for default Nginx site.

# openssl req -subj '/' -new -newkey RSA:3072 -days 3650 -nodes -x509 -keyout /etc/ssl/private/niver.key -out /etc/ssl/certs/niver.crt