Last active
March 29, 2025 08:14
-
-
Save jhaemin/218cc4f45c28062c3f3c6b96347a401a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # add certbot repository to apt (not required) | |
| # sudo add-apt-repository ppa:certbot/certbot | |
| # apt update | |
| sudo apt update | |
| # install certbot and nginx plugin | |
| sudo apt install python3-certbot-nginx | |
| # (optional) manual upgrade by adding the repository again (not required) | |
| # sudo add-repository ppa:certbot/certbot | |
| # certificate domains | |
| sudo certbot --nginx -d example.com -d www.example.com -d *.example.com | |
| # check if auto-renewal is correctly running | |
| sudo certbot renew --dry-run | |
| # delete certificates | |
| sudo certbot delete --cert-name domain.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo certbot --nginx \ | |
| -d auth.payw.org | |
| sudo certbot --nginx \ | |
| -d jhaemin.com \ | |
| -d www.jhaemin.com \ | |
| -d gol3d.jhaemin.com \ | |
| -d fy.jhaemin.com \ | |
| -d dynamic-island.jhaemin.com | |
| sudo certbot --nginx \ | |
| -d saying.today \ | |
| -d www.saying.today | |
| sudo certbot --nginx \ | |
| -d eodiro.com \ | |
| -d www.eodiro.com \ | |
| -d dev.eodiro.com \ | |
| -d beta.eodiro.com \ | |
| -d api.eodiro.com \ | |
| -d api2.eodiro.com \ | |
| -d dev.api2.eodiro.com \ | |
| -d cdn.eodiro.com | |
| sudo certbot --nginx \ | |
| -d woowahan.dev \ | |
| -d www.woowahan.dev \ | |
| -d todo.woowahan.dev \ | |
| -d bank.woowahan.dev | |
| sudo certbot --nginx \ | |
| -d baemin.dev \ | |
| -d www.baemin.dev \ | |
| -d ceo.baemin.dev \ | |
| -d book.baemin.dev | |
| sudo certbot --nginx \ | |
| -d woowa.io \ | |
| -d www.woowa.io \ | |
| -d bmart.woowa.io \ | |
| -d fonts.woowa.io | |
| sudo certbot --nginx \ | |
| -d where.land \ | |
| -d www.where.land \ | |
| -d hb.where.land | |
| sudo certbot --nginx \ | |
| -d untitled.land \ | |
| -d www.untitled.land \ | |
| -d sandbox.untitled.land | |
| sudo certbot --nginx \ | |
| -d lvup.app \ | |
| -d www.lvup.app | |
| sudo certbot --nginx \ | |
| -d liar-game.com \ | |
| -d www.liar-game.com | |
| sudo certbot --nginx \ | |
| -d hidden.jjazzblues.com | |
| sudo certbot --nginx \ | |
| -d everymoji.com \ | |
| -d www.everymoji.com | |
| sudo certbot --nginx \ | |
| -d robotfantasia.com \ | |
| -d www.robotfantasia.com | |
| sudo certbot --nginx \ | |
| -d pantheon.sh \ | |
| -d www.pantheon.sh | |
| sudo certbot --nginx \ | |
| -d pp.land \ | |
| -d www.pp.land \ | |
| -d api.pp.land | |
| sudo certbot --nginx \ | |
| -d speller.town \ | |
| -d www.speller.town | |
| sudo certbot --nginx \ | |
| -d interop.design \ | |
| -d www.interop.design | |
| sudo certbot --nginx \ | |
| -d hangulterm.dev \ | |
| -d www.hangulterm.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Default | |
| server { | |
| server_name domain.com; | |
| # rewrite ^/(.*)/$ /$1 permanent; # Remove trailing slash | |
| location / { | |
| proxy_pass http://localhost:3000/; | |
| } | |
| } | |
| # Redirect | |
| server { | |
| server_name www.domain.com; | |
| return 301 https://domain.com$request_uri; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo lsof -i -P -n | grep LISTEN | |
| sudo netstat -tulpn | grep LISTEN | |
| sudo lsof -i:22 ## see a specific port such as 22 ## | |
| sudo nmap -sTU -O IP-address-Here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment