共计 301 个字符,预计需要花费 1 分钟才能阅读完成。
server {
listen 80;
server_name domain.com;
send_timeout 6000;
charset utf-8;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass_request_headers on;
proxy_pass http://127.0.0.1:3000;
}
正文完