2
我需要为特定的url设置重定向规则 - 我正在使用NGINX。重定向错误的Nginx规则
基本上事情是这样的:
http://example.com/ - >http://example.com/maps
我正在尝试:
location/{
proxy_pass http://maps-testmk;
include /etc/nginx/proxy_params;
return 301 http://maps-testmk.mgr.ru/maps;
}
}
但我有 - 500 ERR
它的作品!谢谢! –