web
-
aws alb 리다이렉트IT 2020. 3. 16. 16:19
aws alb nginx 상황 #포트 80->https:1443 #포트 80 -> ssl 1443 --------------- aws 설정 conf.d/ssl.conf server { listen 80; server_name www.com; client_max_body_size 5M; keepalive_timeout 10; #access_log off; #access_log /var/log/nginx/www.com main; error_log /tmp/www.com warn; location / { # proxy_pass http://127.0.0.1:8301/; # proxy_redirect http://127.0.0.1:8301/ http://$host; proxy_set_header Host $ho..
-
nginx ssl 설정 값IT 2020. 3. 12. 17:10
server { listen 443 ssl; server_name naver.com; #access_log /var/log/nginx/ssl.access.log main; error_log /var/log/nginx/ssl.error.log warn; ssl on; ssl_certificate ssl/ssl_key_.pem; ssl_certificate_key ssl/ssl_key_20190607.pem; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; ssl_dhparam ssl/dhparam.pem; ssl_ecdh_curve secp384r1; ssl_session_cache..