16 lines
377 B
Plaintext
16 lines
377 B
Plaintext
server {
|
|
listen 443 ssl;
|
|
http2 on;
|
|
server_name 193.233.210.184;
|
|
|
|
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;
|
|
}
|
|
}
|