We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
例えば以下のような設定になっているとき。
domain('ggg.example.com') { redirect_to 'https://ddd.example.com/out_of_service/' }
https://ggg.example.com/login にアクセスすると、https://ddd.example.com/out_of_service/login にリダイレクトされ、想定外の 404エラーになってしまう。
https://ggg.example.com/login
https://ddd.example.com/out_of_service/login
以下のようにすると大丈夫。
domain('ggg.example.com') { nginx_config <<~CONFIG location / { return 301 https://ddd.example.com/out_of_service/; } CONFIG }
そこで、以下のようにオプション指定することで、パスをドロップできないか?
domain('ggg.example.com') { redirect_to 'https://ddd.example.com/out_of_service/', drop_path: true }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
例えば以下のような設定になっているとき。
https://ggg.example.com/login
にアクセスすると、https://ddd.example.com/out_of_service/login
にリダイレクトされ、想定外の 404エラーになってしまう。以下のようにすると大丈夫。
そこで、以下のようにオプション指定することで、パスをドロップできないか?
The text was updated successfully, but these errors were encountered: