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

   Á¶È¸ 10961   Ãßõ 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 10/76
2015-12   1029419   ¹é¸Þ°¡
2014-05   4476634   Á¤ÀºÁØ1
2021-10   5009   ÇöÁø
2021-10   4621   ÇöÁø
2021-10   3429   ÇöÁø
2021-10   3032   ÇöÁø
2021-10   2920   ÇöÁø
2021-10   2578   ÇöÁø
2021-10   2417   ÇöÁø
2021-10   2653   ÇöÁø
2021-10   2407   ÇöÁø
2021-10   2460   ÇöÁø
2021-10   2451   ÇöÁø
2021-09   7426   FOXBI
2021-09   4417   PCMaster
2021-11   1990   ¹®¿µ½Ä
2021-08   5903   »ßµ¹À̽½ÇÄÀÌ
2021-08   5883   ȲÁø¿ì
2021-07   10202   ½ºÄµl¹ÎÇö±â
2021-07   14608   ½ºÄµl¹ÎÇö±â
2021-07   4814   ±èȲÁß
2021-07   7758   ±èȲÁß