###前提・実現したいこと
VirtualBoxを用いてCentos7にNginxをのせたいです。
下記のリンク通り行い。nginxを導入、アクティブまでできました。
https://qiita.com/MuuKojima/items/afc0ad8309ba9c5ed5ee
ですが、IPを直打ちしてもWelcome to nginxのページが出ません。
何が原因かわかりますでしょうか?
###該当のソースコード
nginx.service
1 Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled) 2 Active: active (running) since 水 2017-11-08 16:03:06 JST; 6s ago 3 Docs: http://nginx.org/en/docs/ 4 Process: 1574 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCCESS) 5 Process: 1578 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS) 6 Process: 1577 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS) 7 Main PID: 1580 (nginx) 8 CGroup: /system.slice/nginx.service 9 ├─1580 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.c... 10 └─1581 nginx: worker process 11 1211月 08 16:03:06 localhost.localdomain systemd[1]: Starting nginx - high per... 1311月 08 16:03:06 localhost.localdomain nginx[1577]: nginx: the configuration... 1411月 08 16:03:06 localhost.localdomain nginx[1577]: nginx: configuration fil... 1511月 08 16:03:06 localhost.localdomain systemd[1]: Failed to read PID from f... 1611月 08 16:03:06 localhost.localdomain systemd[1]: Started nginx - high perf... 17Hint: Some lines were ellipsized, use -l to show in full.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/11/08 07:24
2017/11/08 07:40