Skip to content

Commit

Permalink
Use fly.dev instead of .internal
Browse files Browse the repository at this point in the history
`.internal` is not guaranteed to be routed to a live machine.
Theoretically, .flycast would be a better solution here, but sadly
updater backend has force_https set to true and flycast only works with
HTTP.

See: https://fly.io/docs/getting-started/app-services/
  • Loading branch information
luk1337 committed Dec 29, 2023
1 parent 7613638 commit 497e874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fly/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
root * /usr/share/caddy
route {
header /assets/* Cache-Control no-transform
reverse_proxy /api/* http://lineageos-updater-backend.internal:8080
reverse_proxy /api/* https://lineageos-updater-backend.fly.dev
try_files {path} /index.html
file_server
}
Expand Down

0 comments on commit 497e874

Please sign in to comment.