假设端口号是 3000
server { listen 80; server_name your.domain; location / { proxy_pass http://127.0.0.1:3000/; proxy_set_header Host $host; } }
假设端口号是 3000
server { listen 80; server_name your.domain; location / { proxy_pass http://127.0.0.1:3000/; proxy_set_header Host $host; } }