Created Reverse Proxy Examples (markdown)
33
Reverse-Proxy-Examples.md
Normal file
33
Reverse-Proxy-Examples.md
Normal file
@@ -0,0 +1,33 @@
|
||||
### Reverse Proxies:
|
||||
|
||||
* [LE/SWAG ](#leswag)
|
||||
|
||||
## LE/SWAG
|
||||
|
||||
### Subdomain
|
||||
Place in the `site-confs` folder
|
||||
|
||||
```
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
server_name overseerr.*;
|
||||
|
||||
include /config/nginx/ssl.conf;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app overseerr;
|
||||
set $upstream_port 3000;
|
||||
set $upstream_proto http;
|
||||
proxy_pass http://$upstream_app:3000;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user