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

   Á¶È¸ 11412   Ãßõ 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   4972941   Á¤ÀºÁØ1
2015-12   1509261   ¹é¸Þ°¡
2013-05   31744   QS¿ÕÅëÅ°¼Õ¡¦
2013-05   35503   ȸ¿øK
2013-06   35541   ȲÁø¿ì
2013-06   34896   ȸ¿øK
2013-06   32509   oÈ«Áرâo
2013-06   15719   ÇØ¿À¸§
2013-06   22534   ȸ¿øK
2013-06   21342   ¿¡¾Æºü
2013-06   23357   ¼Û°­¹Î
2013-06   17089   ȲÁø¿ì
2013-06   19475   ȸ¿øK
2013-07   19607   ÄôǪÆÒ´õ
2013-07   22673   ÀÌÁ¾¼Û1
2013-07   20056   ȸ¿øK
2013-07   19747   ȸ¿øK
2013-07   15514   °­±â¿ë
2013-07   20027   °­±â¿ë
2013-07   16581   ȸ¿øK
2013-07   16919   ȸ¿øK
2013-07   18659   ȸ¿øK