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

   Á¶È¸ 11842   Ãßõ 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
2015-12   1886674   ¹é¸Þ°¡
2014-05   5372611   Á¤ÀºÁØ1
2012-04   15682   ±è¿ì¼º
2010-12   15674   À̽¿±
2015-12   15674   TRUE
2010-06   15671   ¿ÀÁö¶ý
2009-05   15639   ÇÑÀÏÀÎ
2015-02   15624   FOXBI
2015-11   15624   ¹Ú°Ç
2015-08   15613   ids38
2012-04   15608   ÇöÁø
2010-12   15592   À̽¿±
2009-04   15570   ¹Ú¿ì¿­
2015-12   15563   ³ª·¡Áö±â
2015-03   15559   µ·ÅÚÆÄÆÄ
2010-06   15535   ¿ÀÁö¶ý
2015-12   15513   ¼Ò¸Á»ç¶û71
2016-05   15510   QS¿ÕÅëŰ¼Õ¡¦
2011-07   15481   ¶Ñ¶Ñ±è´ë¿ø
2012-03   15471   huniz
2016-03   15468   ÄÚ¹«
2017-03   15451   ±èÀÍÅÂ