Skip to content

Commit

Permalink
use heroku hardcoded url (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh authored Mar 15, 2024
1 parent 7984a3e commit aae863f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aae863f

Please sign in to comment.