-
Notifications
You must be signed in to change notification settings - Fork 1
๐ก How To? ๋๋ฉ์ธ ์ค์ ํ๊ธฐ
KyungMin Lee edited this page Aug 22, 2024
·
1 revision
- DNS ์๋ธ ๋๋ฉ์ธ ์ถ๊ฐ
- ssl ์ธ์ฆ์ ์ถ๊ฐ
sudo certbot --nginx -d logbat.info -d www.logbat.info -d api.logbat.info -d sdk.logbat.info
cd /etc/nginx/sites-enabled
sudo vi default
- nginx ์ค์ ์ถ๊ฐ
server {
listen 80;
listen [::]:80;
server_name sdk.logbat.info;
return 301 https://$host$request_uri; # HTTP ์์ฒญ์ HTTPS๋ก ๋ฆฌ๋๋ ์
# managed by Certbot
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name sdk.logbat.info;
ssl_certificate /etc/letsencrypt/live/logbat.info/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/logbat.info/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
root /var/www/sdk; # ์ ์ ํ์ผ์ด ์๋ ๊ฒฝ๋ก๋ก ์ค์ ํ์ธ์
location / {
try_files $uri $uri/ =404;
}
}
-
/var/www/sdk ์๋์ ์ ์ ํ์ผ ์ถ๊ฐ
-
nginx ์ฌ์์
sudo nginx -t
sudo systemctl restart nginx
- ๐ก How To? Chat-GPT ๋ฆฌ๋ทฐ์ด ๋์ ํ๊ธฐ
- ๐ก How To? ๋๋ฉ์ธ ์ค์ ํ๊ธฐ
- ๐ก How To? NGINX๋ก CORS ์ค์ ํ๊ธฐ
- ๐ก How To? JavaScript SDK ๊ฐ๋ฐํ๊ธฐ
- ๐ก How To? Java SDK ๊ฐ๋ฐํ๊ธฐ
- ๐ก How To? AWS Lambda๋ก ๋ถํ ํ ์คํธ ์งํํ๊ธฐ
- ๐ก How To? Terraform + Locust๋ก ๋ถํ ํ ์คํธ ์งํํ๊ธฐ
- โ๏ธ Refactoring: ๋ก๊ทธ ์ ์ฅ์ ํ๋ฒ์ ํ์!
- ๐จ ์๋ฒฝํ์ง ์์ ์๋๋ฐ์ค ํ ์คํธ๊ฐ ๋ถ๋ฌ์จ ํญํ
- ๐ก How To? ๋๋ฒ๊น ์ฉ ๊ฒฝ์์ด ๋ฐ์ํ์ง ์๋ Long ์นด์ดํฐ ๋ง๋ค๊ธฐ!
- ๐ก How To? Queue์ poll๊ณผ push๋ ์ ํ ์ค๋ ๋์์ ๋ด๋นํ๊ฒ ํ์๊น?