Created Nginx Reverse Proxy Config (markdown)
parent
e71496d3fd
commit
f30e4db30e
14
Nginx-Reverse-Proxy-Config.md
Normal file
14
Nginx-Reverse-Proxy-Config.md
Normal file
@ -0,0 +1,14 @@
|
||||
```
|
||||
server {
|
||||
server_name <SERVER_DOMAIN>;
|
||||
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;
|
||||
}
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue
Block a user