Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:quick_reverse_proxy_config_for_nginx [2020/02/16 18:02] vern [Quick reverse proxy config for nginx] |
linux:quick_reverse_proxy_config_for_nginx [2020/02/16 18:11] (current) vern [Quick reverse proxy config for nginx] |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== Quick reverse proxy config for nginx ==== | ==== Quick reverse proxy config for nginx ==== | ||
- | nginx is my preferred lightweight HTTP/HTTPS server and fairly easy to do reverse proxy for. In this example, I use a reverse proxy to expose an internal service running on port 82 to the Internet. | + | [[https:// |
Here is an example config ... | Here is an example config ... | ||
Line 12: | Line 12: | ||
client_max_body_size 100M; # increase size of uploaded files | client_max_body_size 100M; # increase size of uploaded files | ||
location / { | location / { | ||
- | proxy_pass http:// | + | proxy_pass http:// |
} | } | ||
# Insert SSL certificate block here | # Insert SSL certificate block here |