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

   Á¶È¸ 11342   Ãßõ 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 26/77
2014-05   4891772   Á¤ÀºÁØ1
2015-12   1430680   ¹é¸Þ°¡
2022-04   10886   FOXBI
2017-04   10948   ÃÖµ¿Çö
2021-04   10952   ÀüÁ÷P¿¬±¸¿ø
2018-07   10955   ȸ¿øK
2019-02   11012   MoonsTale
2017-08   11031   ÇãÀα¸¸¶Æ¾
2015-12   11041   ¼Ò¸Á»ç¶û71
2017-07   11070   ¹Ú¼öÈ«84Æ÷Ç×
2016-03   11079   ȸ¿øK
2016-11   11123   ±è¿µ±â´ëÀü
2018-12   11145   FOXBI
2022-09   11192   sbg2005
2017-06   11221   ¼º±â»ç
2017-10   11225   QS¿ÕÅëÅ°¼Õ¡¦
2016-03   11233   ´«ÆÃÀÌ
2017-04   11258   ¾Ç¸¶¶ó³×
2016-03   11298   ÄÄÈ°Ãʺ¸
2014-11   11319   ÀºÇϼö
2022-09   11334   ¹Î°æ¿­
2016-03   11343   ȸ¿øK