This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl genrsa -out ca.key 2048 | |
openssl req -new -key ./ca.key -out ./ca.csr | |
openssl x509 -req -days 365 -in ./ca.csr -out ./ca.crt -signkey ./ca.key | |
openssl x509 -in ca.crt -text | |
openssl rsa -in ca.key -passin pass:XXXX -pubout -out ca.public.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name domain.tld; | |
root /usr/share/nginx/domain.tld/Web; | |
autoindex off; | |
access_log /var/log/nginx/$host-access.log; | |
error_log /var/log/nginx/$host-error.log error; | |
OlderNewer