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

   Á¶È¸ 11416   Ãßõ 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 40/77
2014-05   4974235   Á¤ÀºÁØ1
2015-12   1510474   ¹é¸Þ°¡
2013-05   31747   QS¿ÕÅëÅ°¼Õ¡¦
2013-05   35508   ȸ¿øK
2013-06   35544   ȲÁø¿ì
2013-06   34900   ȸ¿øK
2013-06   32512   oÈ«Áرâo
2013-06   15723   ÇØ¿À¸§
2013-06   22538   ȸ¿øK
2013-06   21348   ¿¡¾Æºü
2013-06   23361   ¼Û°­¹Î
2013-06   17093   ȲÁø¿ì
2013-06   19477   ȸ¿øK
2013-07   19609   ÄôǪÆÒ´õ
2013-07   22676   ÀÌÁ¾¼Û1
2013-07   20060   ȸ¿øK
2013-07   19749   ȸ¿øK
2013-07   15519   °­±â¿ë
2013-07   20030   °­±â¿ë
2013-07   16585   ȸ¿øK
2013-07   16923   ȸ¿øK
2013-07   18663   ȸ¿øK