我不知道出了什么问题。当我尝试访问 www.befound.com.ar 时,我在浏览器上收到此错误:ERR_TOO_MANY_REDIRECTS
这是我的 nginx.conf:
#user nobody;
worker_processes 1;
error_log logs/error.log;
error_log logs/error.log notice;
error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#tcp_nopush on;
keepalive_timeout 65;
server {
listen 80;
server_name www.befound.com.ar;
location / {
proxy_pass http://www.befound.com.ar:8090/befound;
}
}
}
最佳答案
proxy_set_header Host 'HOST_WHICH_YOU WANT TO PROXY';
95% 都会有帮助:)
关于Nginx 代理 - 太多重定向,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43860758/