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

   Á¶È¸ 11172   Ãßõ 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/77
2014-05   4689232   Á¤ÀºÁØ1
2015-12   1235630   ¹é¸Þ°¡
2012-03   15242   ¿©ÁÖÀÌ»óµ·
2022-09   15234   ²Ü¹úlÃÖÀÎÇõ
2010-06   15223   ¿ÀÁö¶ý
2011-10   15199   ¹Ú¹®Çü
2011-10   15197   ¹Ú¹®Çü
2012-03   15191   ±Ù¼º°¡ÀÌ
2017-02   15185   ¹Î¿í´Ô
2011-09   15174   ´Ù·ÕÀÌ
2023-04   15174   ±è´ö¿µ
2016-02   15169   À׿©°¡vain
2022-09   15164   ±è´ö¿µ
2010-12   15153   À̽¿±
2012-04   15147   ±è¿ì¼º
2016-12   15136   ±èȲÁß
2014-02   15130   ¾ÈÁ¤¿ì
2015-07   15101   ¾ÈÁ¤¿ì
2011-07   15098   ¿¹°ü½Å±Ô½Ä
2014-03   15091   ¼­¿ïI±èµ¿¼ö
2019-01   15083   ¸ùź
2016-09   15064   ±è°Ç¿ì