[Nginx]リダイレクト

LINEで送る
Pocket

  • /を/loginにリダイレクト
location ^~ {
    rewrite ^(.*)$ http://hoge.com/login permanent;
}

 

Was this helpful?

0 / 0

コメントを残す 0

Your email address will not be published. Required fields are marked *