当ı在chorme工具中查找“远程地址”时,我的服务器ip可用。我怎么能从世界隐藏我的服务器真实IP。我正在使用nginx和ubuntu 18.04 LTS
我的/ etc / nginx / sites-available / default
server {
listen 80;
server_name www.example.com;
location / {
proxy_pass http://localhost:4200;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_buffering off;
proxy_cache_bypass $http_upgrade;
}
}