aboutsummaryrefslogtreecommitdiff
path: root/fly/xesite
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-02-18 13:45:22 -0500
committerXe Iaso <me@xeiaso.net>2024-02-18 13:45:22 -0500
commit65b9829f9e3e3bee6aac17c4037a352d4a7901b2 (patch)
tree4b81b5519387c804dafbe7382eb8f246124ec8df /fly/xesite
parent8d63fd1b351cf9ffd99555b21017cc503dd1d0fe (diff)
downloadxesite-65b9829f9e3e3bee6aac17c4037a352d4a7901b2.tar.xz
xesite-65b9829f9e3e3bee6aac17c4037a352d4a7901b2.zip
cmd/xesite: move internal api to unprivileged port
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'fly/xesite')
-rw-r--r--fly/xesite/fly.toml35
1 files changed, 18 insertions, 17 deletions
diff --git a/fly/xesite/fly.toml b/fly/xesite/fly.toml
index c1455f5..c016d4a 100644
--- a/fly/xesite/fly.toml
+++ b/fly/xesite/fly.toml
@@ -17,22 +17,23 @@ DATA_DIR = "/data"
GIT_BRANCH = "main"
SITE_URL = "https://xeiaso.net/"
PATH = "/bin"
+INTERNAL_API_BIND = ":80"
[[services]]
- internal_port = 3000
- processes = ["app"]
- protocol = "tcp"
-
- [services.concurrency]
- hard_limit = 300
- soft_limit = 250
- type = "connections"
-
- [[services.ports]]
- force_https = true
- handlers = ["http"]
- port = 80
-
- [[services.ports]]
- handlers = ["tls", "http"]
- port = 443
+internal_port = 3000
+processes = ["app"]
+protocol = "tcp"
+
+[services.concurrency]
+hard_limit = 300
+soft_limit = 250
+type = "connections"
+
+[[services.ports]]
+force_https = true
+handlers = ["http"]
+port = 80
+
+[[services.ports]]
+handlers = ["tls", "http"]
+port = 443