From 6ecbfa870dcc6f31b1c62a0d2d2be43ddcaf5196 Mon Sep 17 00:00:00 2001 From: Gavin Morrow Date: Sat, 28 Mar 2026 12:50:39 +0000 Subject: [PATCH] Change nginx to proxy via the http server --- Justfile | 2 +- nginx.conf | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index 0d3cdb1..eed76dc 100644 --- a/Justfile +++ b/Justfile @@ -17,7 +17,7 @@ start-prof: start-stop-prof: # Set these env vars here to override .env file # the [env()] attribute doesn't seem to override - profile_pages="stops,stop,stop_alerts,train" https_port=3000 http_port=3003 gtfs_st="local" gleam run -m subway_gleam/server + profile_pages="stops,stop,stop_alerts,train" http_port=3000 gtfs_st="local" gleam run -m subway_gleam/server # TODO: automate this somehow? # also maybe move into submodules diff --git a/nginx.conf b/nginx.conf index 432fb47..1f6fb45 100644 --- a/nginx.conf +++ b/nginx.conf @@ -20,7 +20,8 @@ server { server_name sbwy.gavinmorrow.com; location / { - proxy_pass https://0.0.0.0:4433; + # proxy_pass https://0.0.0.0:4433; + proxy_pass http://0.0.0.0:8080; proxy_http_version 1.1; } } @@ -35,7 +36,8 @@ server { server_name sbwy.gavinmorrow.com; location / { - proxy_pass https://0.0.0.0:3000; + # proxy_pass https://0.0.0.0:3000; + proxy_pass http://0.0.0.0:3000; proxy_http_version 1.1; } } -- 2.51.2