Files
buryan-infra/vps/nginx/sites-available/tg-proxy.conf
T
architect c985c0617b
lint / hygiene (push) Failing after 30s
lint / hygiene (pull_request) Failing after 21s
standard / check (push) Successful in 9s
standard / check (pull_request) Successful in 14s
[INFRA] migrate active old VPS 193.233.210.184 to 45.133.209.253
2026-12-02 18:00:21 +03:00

16 lines
376 B
Plaintext

server {
listen 443 ssl;
http2 on;
server_name 45.133.209.253;
ssl_certificate /etc/nginx/ssl/tg-proxy.crt;
ssl_certificate_key /etc/nginx/ssl/tg-proxy.key;
location /tg-api/ {
proxy_pass https://api.telegram.org/;
proxy_set_header Host api.telegram.org;
proxy_ssl_server_name on;
proxy_buffering off;
}
}