Difference between revisions of "Proxy pass (Reverse proxy)"
Jump to navigation
Jump to search
↑ https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/
↑ http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version
Line 18: | Line 18: | ||
− | proxy_http_version 1.0 | 1.1; <ref>http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version</ref> | + | proxy_http_version 1.0 | 1.1; <ref>http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version</ref> Default, version 1.0 is used. Version 1.1 is recommended for use with [[keepalive]] connections and [[NTLM]] authentication. |
+ | |||
+ | |||
+ | |||
proxy_set_header | proxy_set_header | ||
Revision as of 14:32, 29 December 2019
proxy_pass
directive in used in Nginx for Reverse Proxy configurations.[1]
location /some/path/ { proxy_pass http://www.example.com/link/; }
server { listen 8356; location / { proxy_pass http://www.example.com:80/ } }
proxy_http_version 1.0 | 1.1; [2] Default, version 1.0 is used. Version 1.1 is recommended for use with keepalive connections and NTLM authentication.
proxy_set_header
Related directives: upstream
(Load balancing)
See also
- memcache
- Web server: Nginx:
/etc/nginx/nginx.conf
,nginx -t
, Nginx logs, Nginx change log, PHP,php-fpm
, Let's encrypt, Nginx directives, Reverse Proxy, Configure HTTP redirection Nginx, Return,proxy_pass (Reverse proxy)
,ngx_http_rewrite_module
,/etc/nginx/sites-enabled/
,error.log
,access.log
,/nginx status
, AIO
Advertising: