Answer the question
In order to leave comments, you need to log in
How to set up a domain in nginx on port 22 for GIT?
Good early morning friends!
I set up a git repository on the server, because I'm tired of throwing zip archives between my jobs.
Everything works, I'm happy, BUT! I want to be completely happy, I want to set up work not through an IP address, but through a domain. This is real? If so, please tell me the optimal settings so that security issues and various subtleties are taken into account. On the nginx server, I did not encounter such an issue.
I will be grateful for good materials or answers!
Answer the question
In order to leave comments, you need to log in
Nginx ту не при чем. За домен отвечает DNS - прописываете IP и всё, если для сайта он прописан, то SSH по домену вместо IP уже должен работать.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question