주 메뉴 열기

wwiki β

바뀜

Nginx

49 바이트 추가됨, 2023년 11월 4일 (토) 00:15
Security Controls
proxy_pass http://localhost:8000;
}
</syntaxhighlight>proxy_set_header 지시어를 사용하여 프록시된 서버로 전달되는 헤더 필드를 변경하거나 제거할 수 있습니다. 이 지시어는 location, server, http 블록 등에서 지정할 수 있습니다.  위 예제에서 [[HTTP#Host|Host]] 필드는 $proxy_host변수로 설정되었다. <syntaxhighlight lang="nginx">
location /some/path/ {
proxy_set_header Accept-Encoding "";
</syntaxhighlight>위 예제에서 Accept-Encoding 필드가 프록시된 서버로 전달되는 것을 방지하기 위하여 빈 문자열로 설정했다.
 
[[Nginx Proxy Manager]]를 사용할 수 있다.
=== Security Controls ===
편집
2,431