/etc/nginx/conf.d/default.conf

   Á¶È¸ 10971   Ãßõ 1    

수정된 설정 파일 입니다.

server {
    listen       80;
    server_name  localhost;

    root   /usr/share/nginx/html;
    index  index.php index.html index.htm;

    client_max_body_size 20m;
    client_body_buffer_size 128k;

    #charset koi8-r;
    #access_log  /var/log/nginx/log/host.access.log  main;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }

    # proxy the PHP scripts to Apache listening on 127.0.0.1:80
    #
    #location ~ \.php$ {
    #    proxy_pass   http://127.0.0.1;
    #}

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    location ~ \.php$ {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    location ~ /\. {
        deny  all;
    }
}

- to be continue -
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.


PDS
Á¦¸ñPage 15/76
2014-05   4482934   Á¤ÀºÁØ1
2015-12   1034989   ¹é¸Þ°¡
2016-03   11145   ºóÀ̾ƺü
2016-03   10838   ´«ÆÃÀÌ
2016-03   14483   ÄÚ¹«
2016-03   13327   µðºñµð
2016-03   9605   ¹Â³ë
2016-03   9274   ȸ¿øK
2016-03   11422   ȸ¿øK
2016-03   10025   ȸ¿øK
2016-03   11286   ȸ¿øK
2016-03   10972   ȸ¿øK
2016-03   13955   ȸ¿øK
2016-03   11335   ¿ë¹Î
2016-03   12534   µðºñµð
2016-03   9217   ĵÀ§µå
2016-03   9987   Ä«·ÎÄ«·Î
2016-04   9512   ¹Ú¸í±ÙTN
2016-04   9738   À¯Á¤È£»þÄÜ´À
2016-04   13534   ´ëÀü»ç¶÷
2016-11   11844   ÇÑ¿©¸§¹ãÀDzÞ
2016-11   9789   ÆÄ·»ÇÏÀÕ