Fixes for Reverse Proxy Go-Live (#6)
* Add new area for defining upstream systems. * Example file for demonstration domain. * Use the new upstream hosts section. * Do the proxy directives in the main file. * Commit any final changes. * Fix example resource name. * Mention the need to have ports specified in the upstream file, not server block. * Adjust formatting.
This commit is contained in:
3
Config/ReverseProxy/config/hosts/README.md
Normal file
3
Config/ReverseProxy/config/hosts/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Upstream Host Configuration
|
||||
For systems which do not resolve well such as ignoring `/etc/hosts`.
|
||||
|
8
Config/ReverseProxy/config/hosts/example.com
Normal file
8
Config/ReverseProxy/config/hosts/example.com
Normal file
@ -0,0 +1,8 @@
|
||||
# Local servers for everything related to `example.com`.
|
||||
# If specific ports are needed they will go here instead of the `conf.d` file(s).
|
||||
|
||||
upstream example-proxy-site {
|
||||
#server 127.0.0.1:8080;
|
||||
server hyperling.com;
|
||||
}
|
||||
|
Reference in New Issue
Block a user