L
L
Leonid2019-02-17 03:31:56
Digital certificates
Leonid, 2019-02-17 03:31:56

How to make the site and telegrams work simultaneously through port 443?

On the VPS server, mtproto was spinning from telegrams on port 443 and the site on port 80. There was a need to tie SSL to the site and traffic from the site turned to port 443. After that, the telegram fell off on port 443, the site is working properly on port 443.

Attempts to reinstall mtproto again with different parameters on a different port were unsuccessful. Even with parameters

udo docker run -d -p4433:4433 --name=mtproto-proxy --restart=always -v proxy-config:/data telegrammessenger/proxy:latest

mtproto stubbornly rises on port 443.
5c68aa88b2bc6252545858.png
How to use port 443 for the site and mtproto at the same time or how to make mtproto work on a different port?

I understand that it is stupid to wait for an answer on this resource, but still

Answer the question

In order to leave comments, you need to log in

3 answer(s)
U
Uno, 2019-02-17
@Noizefan

Why is it stupid to wait for an answer?
In your screenshot, you have the full mtproto launch command with the launch argument on a specific port "-H". Copy, change the port and run.

P
Puma Thailand, 2019-02-17
@opium

Didn't you forget the old mtproto to bang?

R
riot26, 2019-02-17
@riot26

https://habr.com/ru/post/412779/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question