The proxy is setted by client and the users know their requests are transferred
The proxy is used by server and people can not know if the flow goes through the proxy server
nginx -s reload
restart the nginx server
nginx -t
test the nginx conf
mime.types indicates the different types.
default_type application/octet-stream
read these chapters link1 link2 link3 link4 Pay more attention to the path.