Tool: sshx is a secure web-based terminal
2023-11-14
sshx is a secure web-based, collaborative terminal. You can share you server terminal with others through website. And you can see what others do in the terminal...
2023-11-14
sshx is a secure web-based, collaborative terminal. You can share you server terminal with others through website. And you can see what others do in the terminal...
2023-10-24
Recently, I wrote a new blog server as my personal blog website. However, I want it to support Https
protocol not the insecure Http
protocol.
So I do some research and find the resolution.
nginx
and mkcert
mkcert heng30.xyz "*.heng30.xyz" localhost 127.0.0.1 ::1
/etc/nginx/nginx.conf
: server {
listen 443 ssl;
server_name heng30.xyz;
ssl_certificate path-to-certification.pem;
ssl_certificate_key path-to-private-key.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
}
# location / {
# proxy_pass http://127.0.0.1:80/;
# }
}
nginx
: systemctl status nginx.service
Enjoy your nginx
server using the https
protocol.