Skip to content
 
 

Repository files navigation

Telegram web proxy server

This fork of webogram contains docker image with redsocks and nginx proxy to use in case of blocked of web.telegram.org

Regards to

Running in docker

  1. Replace lines in files nginx/nginx.conf with your domain name

    yourdomain.com
    
  2. Replace line in file app/js/lib/mtproto.js with your domain name

    chosenServer = 'https://yourdomain.com/' + subdomain + path
    
  3. Generate ssl for your domain name and replace files in nginx/certs.

  4. Optionally, generate new login/password in nginx/.htpasswd for baisc http auth (default creds test/telegram).

  5. Update redsocks/redsocks.conf with your socks proxy credentials. I recommend proxy6. If *.telegram.org isn't banned from your server - skip this step and remove/comment lines from redsocks/redsocks

    iptables_rules
    /usr/sbin/redsocks -c /tmp/redsocks.conf
    
  6. Run cmd in webogram dir

    docker build -t tgnginx . && docker run -p 80:80 -p 443:443 --name tgnginx --cap-add NET_ADMIN --cap-add NET_RAW tgnginx
    
  7. Open https://yourdomain.com/ in your browser and enjoy.

About

Telegram web application with proxy support, GPL v3

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages