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

   Á¶È¸ 12995   Ãßõ 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 27/80
2025-07   377070   Á¤ÀºÁØ1
04-15   40165   UPDF
2022-09   12578   sbg2005
2018-07   12715   mt22
2016-12   12721   ÄñôÄñô
2018-08   12724   ¿¥ºê¸®¿À
2020-04   12733   ¹ÎÁöÆÄÆÄ
2018-10   12738   ¹Ì³ª¸®³ª¹°
2017-05   12754   ´ÊÀáÀڴ¾ÆÀÌ
2016-11   12772   ±è¿µ±â´ëÀü
2021-03   12777   ½ºÄµl¹ÎÇö±â
2015-12   12812   ¼Ò¸Á»ç¶û71
2021-09   12816   FOXBI
2017-05   12825   DoubleSH
2014-11   12827   ÀºÇϼö
2018-07   12827   catstyle
2017-10   12836   ÁöÀÎȯ
2019-02   12880   MoonsTale
2016-04   12898   ¹«¾Æ
2016-03   12918   ¿ë¹Î
2016-03   12924   ÄÄȰÃʺ¸
2016-03   12996   ȸ¿øK