Linux/Nginx
< Linux
- nginx
- SSL
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
htpasswd
sudo sh -c "echo -n 'username:' >> .htpasswd" sudo sh -c "openssl passwd -apr1 >> .htpasswd"
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
sudo sh -c "echo -n 'username:' >> .htpasswd" sudo sh -c "openssl passwd -apr1 >> .htpasswd"