---
title: "利用 nginx 正向代理上网"
author: "logo32"
date: "2019-09-03T11:13:13Z"
tags: []
categories: ["互联网"]
slug: "nginx"
draft: false
lastmod: "2018-08-27T14:47:13Z"
id: 2429479
url: "https://logo32.iteye.com/blog/2429479"
---

```java
server{

        resolver 8.8.8.8;
        listen 10.10.90.76:82;
        location / {
                proxy_pass http://$http_host$request_uri;
        }
}
```