160; 160;통신사단말 > 스위치 > iptime > 홈서버 연결했습니다
160; ddns 설1221;후 ssh 1217;속1004;/196; yum 업뎃Ȣ16;고 1088;0148;설치Ȣ16;고
160; nginx 설치,hph7 설치 후 .168; 연ᇼ1; 했습니다.
여기서@@@
[root@localhost html]# vi /etc/nginx/conf.d/default.conf
server {
160; 160; 160; 160; listen 160; 160; 160;80;
160; 160; 160; 160; root 160; 160; 160; 160; /usr/share/nginx/html;
160; 160; 160; 160; index index.html index.htm index.php;
160; 160; 160; 160; location / {
160; 160; 160; 160; }
160; 160; 160; 160; location ~ \.php$ {
160; 160; 160; 160; 160; 160; fastcgi_split_path_info ^(.+\.php)(/.+)$;
160; 160; 160; 160; 160; 160; fastcgi_pass 160; 127.0.0.1;9000;
160; 160; 160; 160; 160; 160; fastcgi_index 160;index.php;
160; 160; 160; 160; 160; 160; fastcgi_param 160;SCRIPT_FILENAME $document_root$fastcgi_script_name;
160; 160; 160; 160; 160; 160; include 160; 160; 160; 160;fastcgi_params;
160; 160; 160; 160; }
160; 160; 160; 160; location ~ /\.ht {
160; 160; 160; 160; 160; 160; 160;deny 160;all;
160; 160; 160; 160; }
160; 160; 160; 160; error_page 404 /404;
160; 160; 160; 160; location = /404 { # php 404 redirect
160; 160; 160; 160; }
160; 160; 160; 160; error_page 500 502 503 504 /50x.html;
160; 160; 160; 160; location = /50x.html {
160; 160; 160; 160; }
}
요/196;캐 설1221;Ȣ16;고
cd /usr/share/nginx/html 에 간단7176; phpinfo.php 만들Ǻ12;서
nginx 1228;시1089; Ȣ16;니까 에러가뜹니다
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
아래lj16; journalctl -xe 내용 1077;니다@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-- Unit nginx.service has begun starting up.
160;8월 09 11:10:12 localhost.localdomain nginx[8829]: nginx: [emerg] unknown directive "9000" in /etc/nginx/conf.d/default.conf:13
160;8월 09 11:10:12 localhost.localdomain nginx[8829]: nginx: configuration file /etc/nginx/nginx.conf test failed
160;8월 09 11:10:12 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exited status=1
160;8월 09 11:10:12 localhost.localdomain systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
160;8월 09 11:10:12 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
160;8월 09 11:10:12 localhost.localdomain polkitd[692]: Unregistered Authentication Agent for unix-process:8820:5754290 (system bus name :1.91, object p
160;8월 09 11:10:12 localhost.localdomain systemd[1]: nginx.service failed.
무슨말1064;1648; 1도 모르,192;습니다,,
php-fpm ¼³Ä¡ Çϼ̰ÚÁÒ?