nginx
-
nginx tomcat 연동IT 2020. 5. 15. 15:49
yum install https://nginx.org/packages/centos/7/x86_64/RPMS/nginx-1.12.1-1.el7.ngx.x86_64.rpm wget http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.46/bin/apache-tomcat-8.0.46.tar.gz # 톰켓 변동 없음 # vi/etc/seliunx/config SELinux=disabled #nginx.conf 값 #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid..
-
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..
-
aws alb 설정 값IT 2020. 3. 12. 16:12
#aws -alb - nginx 80-> 443으로 설정 할때 # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; # Load dynamic modules. See /usr/share/nginx/README.dynamic. include /usr/share/nginx/modules/*.co..