Linux/Nginx

From Wiki
  • 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"


Proxy