Compare commits
No commits in common. "6522dd7a05a7d40b843ceb2f029436e915ef172b" and "9c8d023a56f1785910fb28c2ace80caef3f28c56" have entirely different histories.
6522dd7a05
...
9c8d023a56
45
fly.toml
45
fly.toml
@ -1,39 +1,40 @@
|
|||||||
# fly.toml app configuration file generated for white-wave-7409 on 2023-05-16T12:52:57-03:00
|
# fly.toml file generated for white-wave-7409 on 2022-05-02T16:24:11-03:00
|
||||||
#
|
|
||||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
app = "white-wave-7409"
|
app = "white-wave-7409"
|
||||||
primary_region = "mia"
|
|
||||||
kill_signal = "SIGINT"
|
|
||||||
kill_timeout = "5s"
|
|
||||||
|
|
||||||
[experimental]
|
kill_signal = "SIGINT"
|
||||||
auto_rollback = true
|
kill_timeout = 5
|
||||||
|
processes = []
|
||||||
|
|
||||||
[deploy]
|
[deploy]
|
||||||
strategy = "rolling"
|
strategy = "rolling"
|
||||||
|
|
||||||
|
[env]
|
||||||
|
|
||||||
|
[experimental]
|
||||||
|
allowed_public_ports = [8080]
|
||||||
|
auto_rollback = true
|
||||||
|
|
||||||
[[services]]
|
[[services]]
|
||||||
protocol = "tcp"
|
|
||||||
internal_port = 8080
|
internal_port = 8080
|
||||||
min_machines_running = 0
|
protocol = "tcp"
|
||||||
|
|
||||||
[[services.ports]]
|
|
||||||
port = 80
|
|
||||||
handlers = ["http"]
|
|
||||||
force_https = true
|
|
||||||
|
|
||||||
[[services.ports]]
|
|
||||||
port = 443
|
|
||||||
handlers = ["tls", "http"]
|
|
||||||
[services.concurrency]
|
[services.concurrency]
|
||||||
type = "connections"
|
|
||||||
hard_limit = 25
|
hard_limit = 25
|
||||||
soft_limit = 20
|
soft_limit = 20
|
||||||
|
type = "connections"
|
||||||
|
|
||||||
|
[[services.ports]]
|
||||||
|
force_https = true
|
||||||
|
handlers = ["http"]
|
||||||
|
port = 80
|
||||||
|
|
||||||
|
[[services.ports]]
|
||||||
|
handlers = ["tls", "http"]
|
||||||
|
port = "443"
|
||||||
|
|
||||||
[[services.tcp_checks]]
|
[[services.tcp_checks]]
|
||||||
interval = "15s"
|
|
||||||
timeout = "2s"
|
|
||||||
grace_period = "1s"
|
grace_period = "1s"
|
||||||
|
interval = "15s"
|
||||||
restart_limit = 0
|
restart_limit = 0
|
||||||
|
timeout = "2s"
|
||||||
|
26
nginx.conf
26
nginx.conf
@ -105,29 +105,3 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 8080;
|
|
||||||
listen [::]:8080;
|
|
||||||
|
|
||||||
server_name snips.ralsina.me;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8091 ;
|
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
|
||||||
|
|
||||||
# WebSocket support
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "upgrade";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 8080;
|
|
||||||
listen [::]:8080;
|
|
||||||
|
|
||||||
server_name covers.ralsina.me;
|
|
||||||
return 301 https://ralsina.me/stories/covers/;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user