Rails Rails redirect_to 出问题

ecloud · April 10, 2023 · Last by ecloud replied at April 11, 2023 · 295 hits

RT,在 Rails 中使用 redirect_to导致疑惑行为,

redirect_to station_path

直接给 重定向到 https://nginx_upstream/stations。从配置了阿里云 WAF 之后出现的问题,Nginx 服务器和 Rails 不在一个服务器中,他们通过 Socket 连接。

nginx_upstream 是在 nginx 中配置的一个 upstream。

Reply to Rei

确实可以了。感谢解答。

You need to Sign in before reply, if you don't have an account, please Sign up first.