/welcomeをwelcome.htmlにマッピング /をindex.htmlにマッピング css js 画像も配信できるように location ~ ^/(index) {}がみそ。 /は/index.htmlに変換されてもう一度評価されるため、 上を書かないと、index.html.htmlなるファイルにアクセスしようとする。 listen 80; server_name stg.mono-street.at; access_log /var/log/nginx/stg.access.log; root /home/conoha/stg/htdocs; location = / { add_header Content-type text/html; default_type text/html; index index.html; root /home/conoha/stg/htd