How I moved to https 1. I registered at startssl.com, passed the domain 2 check. The Certificate Wizard came in, poked DV SSL Certificate, entered the domain and subdomains. 3. Poked to generate independently, downloaded and opened StartComTool.exe, clicked generate CSR. Saved key. 4. The site entered received CSR. Poke a button to pass. Tyknul certificate sheet 5. Tyknul get and downloaded. I threw the key from point 3 and the CSR from the archive I just received from the nginxserver folder onto the server. 6. Fixed the working nginx config on the following and it became not working:
server { listen 80; server_name ***; location / { root /usr/html/***; index index.html index.htm; } return 301 https://***$request_uri; } server { listen 433 ssl; server_name ***; ssl_certificate /etc/ssl/nginx/***.pem; ssl_certificate_key /etc/ssl/nginx/***.key; location / { root /usr/html/***; index index.html index.htm; } } When I try to log in, it writes ERR_CONNECTION_REFUSED. What am I doing wrong?
nginx -tin the console will tell you which line nginx is plugged in - etki