diff options
Diffstat (limited to 'mioproxy.prod.hcl')
| -rw-r--r-- | mioproxy.prod.hcl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mioproxy.prod.hcl b/mioproxy.prod.hcl new file mode 100644 index 00000000..a9e99051 --- /dev/null +++ b/mioproxy.prod.hcl @@ -0,0 +1,29 @@ +user = "ken" + +server http { + host = "0.0.0.0" + port = 80 + + redirect_to_https = true + acme_challenge { + root = "letsencrypt/webroot" + } +} + +server https { + host = "0.0.0.0" + port = 443 + + tls_cert_file = "letsencrypt/lego/certificates/nsfisis.dev.crt" + tls_key_file = "letsencrypt/lego/certificates/nsfisis.dev.key" + + proxy blog { + from { + host = "blog.nsfisis.dev" + } + to { + host = "127.0.0.1" + port = 8001 + } + } +} |
