From 4f061e1e10c7a698fd46583deb28a3cacb4bb466 Mon Sep 17 00:00:00 2001 From: adarshm11 Date: Thu, 12 Mar 2026 15:38:10 -0700 Subject: [PATCH 1/2] add goderpad to nginx.conf --- nginx.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/nginx.conf b/nginx.conf index 23566b65a..db968abe3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -78,6 +78,26 @@ http { return 302 $scheme://$http_host/transit/; } + location ~ ^/interview/ { + resolver 127.0.0.11 valid=15s; + + proxy_set_header Host $host; + + # WebSocket support for collaborative editing + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + + set $upstream http://goderpad-nginx.sce; + proxy_pass $upstream; + + rewrite ^/interview(.*)$ $1 break; + } + + location ~ ^/interview$ { + return 302 $scheme://$http_host/interview/; + } + location ~ ^/status/ { resolver 127.0.0.11 valid=15s; From 1aeae5fd89e9ca192032c47108925385113f2a04 Mon Sep 17 00:00:00 2001 From: adarshm11 Date: Sat, 14 Mar 2026 00:39:01 -0700 Subject: [PATCH 2/2] add goderpad to prometheus --- prometheus/prometheus.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 900792379..99e55c1e4 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -27,3 +27,6 @@ scrape_configs: - job_name: 'keep-ssh-tunnel-open' static_configs: - targets: ['keep-ssh-tunnel-open:8000'] + - job_name: 'goderpad' + static_configs: + - targets: ['goderpad-backend:7778']