So I will be using nginx as a reverse proxy. I do not have a domain name for my server yet. I am in development.
Can I use the IP address such as the following in /etc/nginx/sites-available/default:
server {
listen 80;
server_name 1.2.3.4; //Obvious fake IP.
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
Thanks in advance for your reply!
Ray