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

   Á¶È¸ 11845   Ãßõ 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 9/14
2016-09   19514   ¹Î¿í´Ô
2016-09   19727   ÇãÀα¸¸¶Æ¾
2016-08   19456   ±èÁø¿µJK
2016-07   17963   QS¿ÕÅëŰ¼Õ¡¦
2016-07   18797   ¸¼Àº¿©¸§
2016-06   15061   QS¿ÕÅëŰ¼Õ¡¦
2016-06   14464   QS¿ÕÅëŰ¼Õ¡¦
2016-06   18932   DoubleSH
2016-04   17975   ·¹Àκ¸¿ì7
2016-03   15029   ȸ¿øK
2016-03   11846   ȸ¿øK
2016-03   12176   ȸ¿øK
2016-03   10877   ȸ¿øK
2016-03   10440   ¹Â³ë
2016-03   13144   µðºñµð
2016-03   12920   À¯Á¤È£»þÄÜ´À
2016-03   13592   HEUo±è¿ë¹Î
2016-02   15942   À׿©°¡vain
2016-01   22774   DoubleSH
2015-12   10098   ¼Ò¸Á»ç¶û71