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

   Á¶È¸ 11851   Ãßõ 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   5376627   Á¤ÀºÁØ1
2015-12   1890794   ¹é¸Þ°¡
2016-10   16122   ·¹Àκ¸¿ì7
2018-06   16122   ±è°¡ÇǽÃ
2012-04   16124   MikroTikÀÌÁø
2011-01   16136   À̼±±Ô
2013-07   16138   °­±â¿ë
2010-07   16144   ¿ÀÁö¶ý
2011-08   16150   À嵿°Ç2014
2016-02   16153   õ¸¶°Ç»§
2015-07   16171   ÁÖ¿µÁø¿µ¾Æºü
2017-02   16183   ¹«¾Æ
2022-09   16186   sbg2005
2011-05   16193   Á¤º´°ïÀÓµÂ
2013-04   16208   stone92±è°æ¹Î
2010-05   16212   ¿ÀÁö¶ý
2011-11   16225   ÄôǪÆÒ´õ
2011-12   16228   ¶Ñ¶Ñ±è´ë¿ø
2014-03   16229   2CPUÃÖÁÖÈñ
2011-05   16246   ¼­´ÃÇѱ״Ã
2009-04   16259   ±èº´¼·
2015-03   16260   ¾ÈÁ¤¿ì