From f30e4db30ea8f4e14dbc261f2398bf916c6881e6 Mon Sep 17 00:00:00 2001 From: Jordan Knott Date: Sun, 29 Nov 2020 13:42:24 -0600 Subject: [PATCH] Created Nginx Reverse Proxy Config (markdown) --- Nginx-Reverse-Proxy-Config.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Nginx-Reverse-Proxy-Config.md diff --git a/Nginx-Reverse-Proxy-Config.md b/Nginx-Reverse-Proxy-Config.md new file mode 100644 index 0000000..7fcb08f --- /dev/null +++ b/Nginx-Reverse-Proxy-Config.md @@ -0,0 +1,14 @@ +``` +server { + server_name ; + listen 80 + location / { + proxy_pass http://localhost:3333; + proxy_redirect off; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $server_name; + } +} +``` \ No newline at end of file