<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>反向代理 &#8211; moneyslow.com</title>
	<atom:link href="https://moneyslow.com/tag/%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86/feed" rel="self" type="application/rss+xml" />
	<link>https://moneyslow.com</link>
	<description>making money with technology</description>
	<lastBuildDate>Sun, 20 Mar 2022 09:42:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>
	<item>
		<title>nginx反向代理proxy_pass出现502错误SSL_do_handshake() failed 处理方法</title>
		<link>https://moneyslow.com/nginx%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86proxy_pass%e5%87%ba%e7%8e%b0502%e9%94%99%e8%af%afssl_do_handshake-failed-%e5%a4%84%e7%90%86%e6%96%b9%e6%b3%95.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sat, 12 Mar 2022 12:36:23 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[反向代理]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=14698</guid>

					<description><![CDATA[proxy_ssl_session_reuse off;  关闭默认尝试重新使用SSL上游的SSL会话
proxy_ssl_server_name on; 反向代理的时候，通过域名而不是ip地址去访问
proxy_ssl_protocols 指定协议]]></description>
		
		
		
			</item>
		<item>
		<title>理解nginx的proxy_pass用法和url的路径翻译《nginx的proxy_pass代理路径翻译对照表》</title>
		<link>https://moneyslow.com/%e7%90%86%e8%a7%a3nginx%e7%9a%84proxy_pass%e7%94%a8%e6%b3%95%e5%92%8curl%e7%9a%84%e8%b7%af%e5%be%84%e7%bf%bb%e8%af%91%e3%80%8anginx%e7%9a%84proxy_pass%e4%bb%a3%e7%90%86%e8%b7%af%e5%be%84%e7%bf%bb.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Wed, 02 Mar 2022 04:22:09 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[反向代理]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=14664</guid>

					<description><![CDATA[其结果则不同，仓促配置的情况下，一个“/”号的位置效果令人抓狂。
由此总结出以下的《nginx的proxy_pass代理路径翻译对照表》：]]></description>
		
		
		
			</item>
		<item>
		<title>正向代理和反向代理区别图例</title>
		<link>https://moneyslow.com/%e6%ad%a3%e5%90%91%e4%bb%a3%e7%90%86%e5%92%8c%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86%e5%8c%ba%e5%88%ab%e5%9b%be%e4%be%8b.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Wed, 23 Feb 2022 13:01:38 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[反向代理]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=14536</guid>

					<description><![CDATA[正向代理代理的是客户端发送请求，客户端和代理服务器处于同一个网络环境，隐藏了客户端信息
正向代理主要作用是访问不可访问的资源和统一管控客户端请求
反向代理代理的是服务器接收请求，服务器和代理服务器处于同一个网络环境，隐藏了服务器信息
反向代理主要作用是保护内网服务器和负载路由转发]]></description>
		
		
		
			</item>
		<item>
		<title>终于解决：Safari 浏览器无法打开页面 错误是：“cannot parse response&quot; (NSURLErrorDomain: -1017)</title>
		<link>https://moneyslow.com/%e7%bb%88%e4%ba%8e%e8%a7%a3%e5%86%b3%ef%bc%9asafari-%e6%b5%8f%e8%a7%88%e5%99%a8%e6%97%a0%e6%b3%95%e6%89%93%e5%bc%80%e9%a1%b5%e9%9d%a2-%e9%94%99%e8%af%af%e6%98%af%ef%bc%9acannot-parse-response.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Mon, 21 Feb 2022 03:39:20 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[http2]]></category>
		<category><![CDATA[反向代理]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=14532</guid>

					<description><![CDATA[再次验证，通过浏览器插件 http/2 and SPDY indicator 我们发现网站通过http2协议进行访问，于是查到相关资料]]></description>
		
		
		
			</item>
		<item>
		<title>nginx反向代理配置</title>
		<link>https://moneyslow.com/nginx%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86%e9%85%8d%e7%bd%ae.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sun, 29 Jul 2018 04:33:12 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[互联网赚钱]]></category>
		<category><![CDATA[反向代理]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=8139</guid>

					<description><![CDATA[1.nginx负载均衡 网站的访问量越来越大，服务器的服务模式也得进行相应的升级，比如分离出数据库服务器、分离出图片作为单独服务，这些是简单的数据的负载均衡，将压力分散到不同的机器上。有时候来自web前端的压力，也能让人十分头痛。怎样将同一个域名的访问分散到两台或更多的机器上呢？这其实就是另一种负载均衡了，nginx自身就可以做到，只需要做个简单的配置就行。 nginx不单可以作为强大的web服务器，也可以作为一个反向代理服务器，而且nginx还可以按照调度规则实现动态、静态页面的分离，可以按照轮询、ip哈希、URL哈希、权重等多种方式对后端服务器做负载均衡，同时还支持后端服务器的健康检查。 Nginx负载均衡一些基础知识： nginx 的 upstream目前支持 4 种方式的分配&#160; 1)、轮询（默认）&#160; 每个请求按时间顺序逐一分配到不同的后端服务器，如果后端服务器down掉，能自动剔除。&#160; 2)、weight&#160; 指定轮询几率，weight和访问比率成正比，用于后端服务器性能不均的情况。&#160; 2)、ip_hash&#160; 每个请求按访问ip的hash结果分配，这样每个访客固定访问一个后端服务器，可以解决session的问题。&#160;&#160; 3)、fair（第三方）&#160; 按后端服务器的响应时间来分配请求，响应时间短的优先分配。&#160;&#160; 4)、url_hash（第三方） &#160; 2.nginx负载均衡配置,主要是proxy_pass,upstream的使用 在http段做如下配置，即可实现两个域名 &#160; upstream&#160; www.moneyslow.com&#160;&#160; { &#160; &#160; server&#160; &#160;10.0.1.50:8080; &#160; &#160; server&#160; &#160;10.0.1.51:8080; } &#160; upstream&#160; blog.moneyslow.com&#160; &#160; { &#160; &#160; server&#160; &#160;10.0.1.50:8080; &#160; &#160; server&#160; &#160;10.0.1.51:8080; } &#160; server { &#160; &#160; listen&#160; 80; [&#8230;]]]></description>
		
		
		
			</item>
		<item>
		<title>使用Nginx反向代理网站</title>
		<link>https://moneyslow.com/%e4%bd%bf%e7%94%a8nginx%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86%e7%bd%91%e7%ab%99.html</link>
		
		<dc:creator><![CDATA[Jkfkgnrk]]></dc:creator>
		<pubDate>Thu, 18 May 2017 01:23:40 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[使用Nginx反向代理网站]]></category>
		<category><![CDATA[反向代理]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=7377</guid>

					<description><![CDATA[server { listen 80; root /home/wwwroot/default; location / { proxy_pass http://downloads.moneyslow.com/; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /f/ { proxy_pass http://www.sourceforge.net/; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } access_log /home/wwwlogs/access.log; }]]></description>
		
		
		
			</item>
		<item>
		<title>如何使用nginx搭建正向代理和反向代理</title>
		<link>https://moneyslow.com/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8nginx%e6%90%ad%e5%bb%ba%e6%ad%a3%e5%90%91%e4%bb%a3%e7%90%86%e5%92%8c%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Thu, 24 Sep 2015 08:51:18 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[反向代理]]></category>
		<category><![CDATA[正向代理]]></category>
		<guid isPermaLink="false">http://blog.a8z8.com/?p=832</guid>

					<description><![CDATA[1.正向代理的概念 正向代理 是一个位于客户端和原始服务器(origin server)之间的服务器，为了从原始服务器取得内容，客户端向代理发送一个请求并指定目标(原始服务器)，然后代理向原始服务器转交请求并将获得的内容返回给客户端。客户端必须要进行一些特别的设置才能使用正向代理。 2.反向代理的概念 反向代理正好相反，对于客户端而言它就像是原始服务器，并且客户端不需要进行任何特别的设置。客户端向反向代理的命名空间(name-space)中的内容发送普通请求，接着反向代理将判断向何处(原始服务器)转交请求，并将获得的内容返回给客户端，就像这些内容原本就是它自己的一样。 简单的区别方法：正向代理就是我们在浏览器可以设置的代理服务器，主动权在浏览者手里。比如我们有时候要查阅一些资料，被国内墙掉了，这时候我可以在国外的服务器上搭建一个nginx正向代理服务器，然后我们就可以通过浏览器设置代理服务器，来翻墙了。反向代理，是浏览者不知情的，服务器端自己假设的。 更加细致的分析：http://z00w00.blog.51cto.com/515114/1031287 下面以nginx为例子来搭建正向代理服务器和反向代理服务器 1.nginx正向代理配置 server{ resolver 8.8.8.8; resolver_timeout 30s; listen 82; location / { proxy_pass http://$http_host$request_uri; proxy_set_header Host $http_host; proxy_buffers 256 4k; proxy_max_temp_file_size 0; proxy_connect_timeout 30; proxy_cache_valid 200 302 10m; proxy_cache_valid 301 1h; proxy_cache_valid any 1m; } } 1、不能有`hostname`。 2、必须有resolver, 即dns，即上面的8.8.8.8，超时时间（30秒）可选。 3、配置正向代理参数，均是由 Nginx 变量组成。 proxy_pass $scheme://$host$request_uri; proxy_set_header Host $http_host; 4、配置缓存大小，关闭磁盘缓存读写减少I/O，以及代理连接超时时间。 proxy_buffers 256 4k; proxy_max_temp_file_size 0; proxy_connect_timeout 30; 5、配置代理服务器 Http 状态缓存时间。 proxy_cache_valid 200 302 10m; [&#8230;]]]></description>
		
		
		
			</item>
	</channel>
</rss>
