본문 바로가기

반응형

HTTP

[url] HTTP 상태 코드(http error code) HTTP 상태 코드(http error code) 참고URL - 개발자를 위한 웹 기술 > HTTP > HTTP 상태 코드 : https://developer.mozilla.org/ko/docs/Web/HTTP/Status - HTTP Status Codes : https://scbyun.com/1053 - HTTP 상태 코드 : https://scbyun.com/563 - HTTP Status Codes Glossary : https://www.webfx.com/web-development/glossary/http-status-codes 더보기
Nginx 및 Apache 웹 서버에서 HTTP/2를 적용하는 방법 Nginx 및 Apache 웹 서버에서 HTTP/2를 적용하는 방법 Nginx에서 HTTP/2를 적용하는 방법 테스트 환경 운영체제 버전 확인 $ lsb_release -d Description:Ubuntu 22.04 LTS openssl 버전 확인 $ openssl version OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) Nginx 버전 확인 $ nginx -v nginx version: nginx/1.24.0 Nginx 설정 파일 수정 vim /etc/nginx/conf.d/default.conf #default.conf configure server { listen 80 default_server; server_name _; re.. 더보기
Let's Encrypt에서 DNS 모드로 SSL 인증서를 발급받는 방법 Let's Encrypt에서 DNS 모드로 SSL 인증서를 발급받는 방법 DNS 모드는 도메인 소유권 검증을 DNS 레코드를 통해 처리하는 방식입니다. EPEL 패키지 설치 yum install -y epel-release 1. Certbot 설치 Certbot을 설치합니다. CentOS 7의 경우 다음과 같이 수행할 수 있습니다. sudo yum install certbot python2-certbot-nginx 설치된 패키지는 시스템에 따라 다를 수 있습니다. 2. DNS API 키 준비 DNS 모드로 SSL 인증서를 발급받기 위해서는 해당 DNS 제공업체의 API 키가 필요합니다. Certbot이 DNS 레코드를 자동으로 추가하고 수정하도록 하기 위함입니다. DNS 제공업체별로 다양한 설정이 필요하.. 더보기
[url] HTTP Status Codes HTTP Status Codes URL : https://httpstatuses.com/200 https://httpstatuses.com/ HTTP Status Codes — httpstatuses.com HTTP Status Codes httpstatuses.com is an easy to reference database of HTTP Status Codes with their definitions and helpful code references all in one place. Visit an individual status code via httpstatuses.com/code or browse the list below. httpstatuses.com 더보기
[리눅스] httpie 명령어 httpie 명령어 HTTPie는 명령줄 기반으로 HTTP 요청을 보내고 응답을 받을 수 있는 유용한 도구입니다. 다음은 HTTPie의 설치와 기본 사용 방법을 설명해 드리겠습니다. pip 설치 python 버전 확인 $ python --version Python 2.7.5 pip 설치 $ wget https://bootstrap.pypa.io/pip/2.7/get-pip.py $ python get-pip.py ---output--- Collecting pip=2.21.0 Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB) |████████████████████████████████| 62 kB 261 kB/s Collecting certifi>=201.. 더보기
웹 서버에서 HSTS(HTTP Strict Transport Security)를 설정하는 방법 웹 서버에서 HSTS(HTTP Strict Transport Security)를 설정하는 방법 HSTS(Strict Transport Security)는 웹 사이트의 보안을 강화하기 위한 메커니즘 중 하나로, HTTPS를 통해 통신하는 것을 강제하고 중간자 공격을 방지하는 기능을 제공합니다. HSTS를 설정함으로써 클라이언트(웹 브라우저)는 지정된 기간 동안 해당 웹 사이트와의 모든 통신을 HTTPS를 통해서만 수행하도록 강제됩니다. Redirect HTTP connections to HTTPS Apache 설정 ServerName example.com RewriteEngine on RewriteCond %{HTTPS} !on RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [.. 더보기
Apache 웹 서버의 MPM(Multi-Processing Module)을 Worker로 전환하는 방법 Apache 웹 서버의 MPM(Multi-Processing Module)을 Worker로 전환하는 방법 테스트 환경 CentOS 7 Apache 2.4 PHP 5.4 MariaDB 5.5 Apache prefork 실행 중 httpd -V $ httpd -V Server version: Apache/2.4.6 (CentOS) Server built: Apr 2 2020 13:13:23 Server's Module Magic Number: 20120211:24 Server loaded: APR 1.4.8, APR-UTIL 1.5.2 Compiled using: APR 1.4.8, APR-UTIL 1.5.2 Architecture: 64-bit Server MPM: prefork threaded: no f.. 더보기
Nginx HTTP Server Note Nginx HTTP Server 1. 작업환경 준비하기 http://ohgyun.com/477 2. 설치 http://ohgyun.com/478 3. 환경설정 http://ohgyun.com/479 4. HTTP 환경설정 http://ohgyun.com/480 5. 모듈 환경설정 http://ohgyun.com/481 6. 참고/주의 http://ohgyun.com/487 원본URL - 꿀벌개발일지 http://ohgyun.com 더보기

728x90
반응형