telegrambot/deploy/nginx/telegram-relay.conf
alisaza a541075765
Some checks failed
CI / Typecheck and test (push) Failing after 1m36s
Deploy / Typecheck and test (push) Failing after 35s
Deploy / Deploy to VPS (push) Has been skipped
Add Gitea Actions CI/CD and production deploy scripts.
Wire typecheck/test on PR/push and SSH deploy to the foreign VPS on main.
2026-09-13 14:39:59 +03:30

19 lines
565 B
Plaintext

# Telegram relay — TLS terminated by Nginx, app on 127.0.0.1:3100
# DNS: point this hostname at 65.108.18.151, then:
# certbot --nginx -d telegram-relay.ghabilee.ir
server {
listen 80;
listen [::]:80;
server_name telegram-relay.ghabilee.ir;
location / {
proxy_pass http://127.0.0.1:3100;
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;
}
}