2014-08-11から1日間の記事一覧
error_pageディレクティブを使う error_page code ... [=[resonse code]] uri; 例えば以下の様な感じ server { listen 80 default_server; location /static { root /var/www; } error_page 404 /static/404.html; } /var/www/static/404.html oops 400,401,…
error_pageディレクティブを使う error_page code ... [=[resonse code]] uri; 例えば以下の様な感じ server { listen 80 default_server; location /static { root /var/www; } error_page 404 /static/404.html; } /var/www/static/404.html oops 400,401,…