This is an old revision of the document!
Nginx
Example Server Blocks
Note: These are messy and need cleaned up. Don't blindly copy-paste may be errors.
Config
Caching
http2
Reverse Proxy
Useful for services that run on abnormal ports, but you want to have clean urls to access them
- reverse_proxy.conf
server { server_name example.domain.com; location / { proxy_pass http://127.0.0.1:8000; } }