2019-06-08から1日間の記事一覧
/etc/nginx/nginx.conf を以下のように編集する。 pid /var/run/nginx.pid; events { worker_connections 3; } http { server { root /html; } } nginxを再起動する。 $ nginx -s stop && nginx このとき、 http://localhost へアクセスすると /html以下のフ…
/etc/nginx/nginx.conf を以下のように編集する。 pid /var/run/nginx.pid; events { worker_connections 3; } http { server { root /html; } } nginxを再起動する。 $ nginx -s stop && nginx このとき、 http://localhost へアクセスすると /html以下のフ…