Coder Social home page Coder Social logo

website_cn's Introduction

Website

This simple personal website is made by Andy.

Website is available at

https: https://www.tjcchen.cn

http( will be redirected to https ): http://www.tjcchen.cn

Start the http/https service

# pm2 start
pm2 --name https-server start npm -- start

# check centos version info
cat /etc/centos-release

# configure your certificate
yum install certbot
sudo certbot certonly --standalone -d www.tjcchen.cn

# key and cert path generated by certbot
Certificate is saved at: /etc/letsencrypt/live/www.tjcchen.cn-0001/fullchain.pem
Key is saved at:         /etc/letsencrypt/live/www.tjcchen.cn-0001/privkey.pem
CA:                      /etc/letsencrypt/live/www.tjcchen.cn-0001/chain.pem

# aliyun cert directory
/ssl/cert.pem
/ssl/cert.key
/ssl/cert.cer

# check connecting status with openssl
openssl s_client -connect 182.92.180.143:443 -servername "www.tjcchen.cn" -tls1_2 | openssl x509 -noout -dates

# check cert info on port 443( on VPS )
openssl s_client -connect 127.0.0.1:443

# check network status
netstat -lnp
netstat -lnp | grep 443

Links

Be sure to configure your security group 443 after adding certs: https://ecs.console.aliyun.com/securityGroupDetail/region/cn-beijing/groupId/sg-2zebrtqj5svzhl79grtg/detail/intranetIngress

Contact

Email: [email protected]

License

This project is licensed under the terms of the MIT License.

website_cn's People

Contributors

tjcchen avatar dependabot[bot] avatar

Stargazers

 avatar Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.