Compare commits

...

3 Commits

Author SHA1 Message Date
Roberto Alsina 6522dd7a05 upgraded to v2 2023-05-16 12:54:39 -03:00
Roberto Alsina 6bc3eae255 Add covers 2023-05-16 12:53:36 -03:00
Roberto Alsina da89bf9b4f Add snips 2023-05-16 12:40:14 -03:00
2 changed files with 48 additions and 23 deletions

View File

@ -1,40 +1,39 @@
# fly.toml file generated for white-wave-7409 on 2022-05-02T16:24:11-03:00
# fly.toml app configuration file generated for white-wave-7409 on 2023-05-16T12:52:57-03:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "white-wave-7409"
primary_region = "mia"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
kill_timeout = "5s"
[experimental]
auto_rollback = true
[deploy]
strategy = "rolling"
[env]
[experimental]
allowed_public_ports = [8080]
auto_rollback = true
[[services]]
internal_port = 8080
protocol = "tcp"
internal_port = 8080
min_machines_running = 0
[[services.ports]]
port = 80
handlers = ["http"]
force_https = true
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = "443"
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
grace_period = "1s"
restart_limit = 0

View File

@ -105,3 +105,29 @@ 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/;
}