mirror of
https://github.com/balzack/databag.git
synced 2025-02-19 06:29:23 +00:00
24 lines
481 B
Plaintext
24 lines
481 B
Plaintext
|
# make sure that your dns has a cname set for databag
|
||
|
|
||
|
server {
|
||
|
listen 443 ssl;
|
||
|
listen [::]:443 ssl;
|
||
|
|
||
|
server_name databag.*;
|
||
|
|
||
|
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 databag;
|
||
|
set $upstream_port 7000;
|
||
|
set $upstream_proto http;
|
||
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||
|
|
||
|
}
|
||
|
}
|