mirror of
https://github.com/replicatedhq/ttl.sh.git
synced 2026-07-10 22:59:19 +00:00
handle v2/ in nginx config (#144)
This commit is contained in:
@@ -7,6 +7,17 @@ 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user