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

   Á¶È¸ 11021   Ãßõ 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 39/76
2014-05   4517481   Á¤ÀºÁØ1
2015-12   1068710   ¹é¸Þ°¡
2015-12   15167   TRUE
2011-12   15170   ¶Ñ¶Ñ±è´ë¿ø
2010-06   15215   ¹Ú¿ì¿­
2014-02   15247   ȸ¿øK
2010-05   15252   ¾ç´ë°¨
2018-02   15270   »õÃÑ
2010-05   15281   ¹Ú¿ì¿­
2016-04   15299   ¾Æ½º¶õ
2012-04   15301   MikroTikÀÌÁø
2009-04   15312   ±èº´¼·
2010-06   15319   ¿ÀÁö¶ý
2014-04   15327   QS¿ÕÅëÅ°¼Õ¡¦
2009-05   15329   ÇÑÀÏÀÎ
2011-11   15342   ÄôǪÆÒ´õ
2015-02   15347   °õ»ïÃÌ
2015-07   15354   ÁÖ¿µÁø¿µ¾Æºü
2017-02   15371   Á¦¿ÂÇÁ·Î
2017-02   15388   ¹«¾Æ
2011-08   15403   À嵿°Ç2014
2010-07   15412   ¿ÀÁö¶ý