This is an old revision of the document!
# Nginx 配置gzip加速网页加载速度
参考[How To Add the gzip Module to Nginx on Ubuntu 14.04](https://www.digitalocean.com/community/tutorials/how-to-add-the-gzip-module-to-nginx-on-ubuntu-14-04)
# Nginx配置ssl证书
参考[How To Secure Nginx with Let's Encrypt on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04)
# Nginx配置Host以便响应服务器获取跳转前的地址
```bash location / { proxy_pass http://my_app_upstream; proxy_set_header Host $host;
# ...
} ```