The gitlab service is deployed on this machine, and the local gitlab page can be accessed through localhost, 127.0.0.1 and the local IP.
Now I want to build a website on this machine to do some testing, but I don’t know how to access the newly created website. I searched for relevant information. It is said that I need to modify the nginx configuration file. I added the qwe.git.com domain name to the configuration file. .
The service has been started.
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 3783/nginx
I compiled and installed nginx, and I configured it after conf,
server {
listen *:80 default_server;
server_name qwe.git.com
Externally monitor requests for the xxx.xxx.xxx domain name, forward them to port 3000, and feedback the request results
You need to resolve the domain name you want to access to this server...