서버
-
[AWS] Lightsail Bitnami Nodejs 서버세팅방법서버 2020. 9. 15. 15:27
일단 Lightsail Nodejs 서버는 Apache 를 사용한다. 접속 순서는 유저 -> 아파치 -> nodejs 서버 방법을 정리하자면 abc.com 으로 접속을 하면 아파치에서 vhost 에서 프록시로 주소를 전달한다.(Like 공유기 DMZ 설정) 예) localhost:3000 3000 번 포트로 실행되고있던 nodejs 서버를 실행한다. 이 방식을 사용하면 nodejs 에서 http, https 모듈을 사용 할 필요가 없는 것 같다. 위와같이 작동하는 기능을 리버스프록시라고 하는것같다. 설명 : www.lesstif.com/system-admin/forward-proxy-reverse-proxy-21430345.html NGINX로도 쓸수있는데 EC2 velog.io/@jakeseo_me/N..
-
Bitnami nginx 로 letsencrypt 적용시키기서버 2020. 6. 14. 20:57
docs.bitnami.com/bch/how-to/generate-install-lets-encrypt-ssl/#alternative-approach Generate and Install a Let's Encrypt SSL Certificate for a Bitnami Application docs.bitnami.com ㅇㅏ니면 certbot.eff.org/lets-encrypt/ubuntuxenial-other Certbot - Ubuntuxenial Other a project of the Electronic Frontier Foundation certbot instructions To use Certbot, you'll need... comfort with the command line comman..
-
-
프로그래밍 수정중 특정 문자열이 포함된 파일들 검색서버 2020. 5. 22. 13:07
ex) grep -r 'shop_term_2' ./* 사용법 grep -r '검색어' ./*
-
vhost 세팅 80포트부터 443 ssl 포트까지서버 2020. 5. 5. 18:00
# REACT #server { # listen 80; # root "/opt/bitnami/apps/이름/www/"; # server_name abc.com www.abc.com; # # include "/opt/bitnami/apps/이름/conf/nginx-app.conf"; # location / { # # try_files $uri $uri/ /index.php?/$request_uri; # } #} server { listen 80; server_name abc.com www.abc.com; return 301 https://abc.com$request_uri; } # SSL server { listen 443; root "/opt/bitnami/apps/이름/www/"; server_name..
-
package.json 에 자료들 dependencies 와 상관없이 최신화서버 2020. 5. 5. 14:54
https://blog.stories.pe.kr/271 package.json의 종속성을 최신버전으로 업데이트하는 방법 npm이나 yarn으로 패키지를 추가하게 되면 node_modules 폴더에 실제 패키지가 설치되면서 package.json 파일에 기록을 하게 됩니다. 일반적으로 npm install 패키지명 --save 이런 명령어를 대부분사용할 텐데요... blog.stories.pe.kr npm install -g npm-check-updates