User Tools

Site Tools


server

This is an old revision of the document!


windows server

install nginx

install certbot https://dl.eff.org/certbot-beta-installer-win_amd64.exe

stop nginx
generate certificate: 
certbot certonly --standalone

use config:

    server {
        listen       443 ssl;
        server_name  cloud.aai-labs.com;

        ssl_certificate      c:\Certbot\live\cloud.aai-labs.com\cert.pem;
        ssl_certificate_key  c:\Certbot\live\cloud.aai-labs.com\privkey.pem;

        ssl_session_cache    shared:SSL:1m;
        ssl_session_timeout  5m;

        ssl_ciphers  HIGH:!aNULL:!MD5;
        ssl_prefer_server_ciphers  on;
	
		location / {
			proxy_pass http://127.0.0.1:8080;
		}	

    #    location / {
    #        root   html;
    #        index  index.html index.htm;
    #    }
    }

install nssm

server.1672322705.txt.gz · Last modified: by aistis