Proxy Telegram routes through Flutter nginx
Build and deploy Flutter Web / build (push) Successful in 2m24s
Build and deploy Flutter Web / build (push) Successful in 2m24s
This commit is contained in:
@@ -16,4 +16,13 @@ server {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /telegram/ {
|
||||
proxy_pass http://mapflow-api-0bvuyz:4000/telegram/;
|
||||
proxy_http_version 1.1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user