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

   Á¶È¸ 11672   Ãßõ 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 41/78
2014-05   5250468   Á¤ÀºÁØ1
2015-12   1775559   ¹é¸Þ°¡
2017-02   15989   ¹«¾Æ
2011-11   15995   ÄôǪÆÒ´õ
2016-02   15999   õ¸¶°Ç»§
2011-12   16007   ¶Ñ¶Ñ±è´ë¿ø
2009-04   16023   ±èº´¼·
2010-07   16031   ¿ÀÁö¶ý
2011-05   16042   ¼­´ÃÇѱ״Ã
2011-05   16043   Á¤º´°ïÀÓµÂ
2017-02   16045   Á¦¿ÂÇÁ·Î
2015-03   16046   ¾ÈÁ¤¿ì
2010-05   16049   ¿ÀÁö¶ý
2009-05   16054   ÇÑÀÏÀÎ
2018-12   16064   »õÇϾᱸ¸§
2014-04   16069   QS¿ÕÅëÅ°¼Õ¡¦
2010-05   16078   ±èÀå¿ì
2014-03   16084   2CPUÃÖÁÖÈñ
2022-09   16085   ±è´ö¿µ
2009-05   16112   ÇÑÀÏÀÎ
2018-02   16123   »õÃÑ
2009-05   16129   ÇÑÀÏÀÎ