From aae863ff09580236b51e7f5a961f4bd0332615ac Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Fri, 15 Mar 2024 12:26:51 -0700 Subject: [PATCH] use heroku hardcoded url (#145) --- nginx/nginx.conf | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 39d9cac..ac82cdd 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -7,21 +7,10 @@ http { listen __PORT__; server_name ttl.sh; - location /v2/ { - client_max_body_size 10000m; - - proxy_pass https://ttlsh.herokuapp.com; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_request_buffering off; - } - location /v2 { client_max_body_size 10000m; - proxy_pass https://ttlsh.herokuapp.com; + proxy_pass https://fluffy-silverfish-j3pmmxknqt2c4coswbx9ebno.herokudns.com; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;