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

   Á¶È¸ 11459   Ãßõ 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 40/77
2014-05   5021131   Á¤ÀºÁØ1
2015-12   1556470   ¹é¸Þ°¡
2019-07   11838   µö·¯´×¼­¹ö
2019-08   4699   µö·¯´×¼­¹ö
2019-07   4122   µö·¯´×¼­¹ö
2019-07   4424   µö·¯´×¼­¹ö
2019-07   4788   µö·¯´×¼­¹ö
2019-08   5565   µö·¯´×¼­¹ö
2019-08   5360   µö·¯´×¼­¹ö
2019-08   8323   µö·¯´×¼­¹ö
2019-08   4998   ÇãÀα¸¸¶Æ¾
2019-08   3640   ÇãÀα¸¸¶Æ¾
2019-08   4096   ÇãÀα¸¸¶Æ¾
2019-08   4154   »ßµ¹À̽½ÇÄÀÌ
2019-08   9017   µö·¯´×¼­¹ö
2019-08   4365   µö·¯´×¼­¹ö
2019-08   4435   »ßµ¹À̽½ÇÄÀÌ
2019-08   3973   calculators
2019-08   5250   µö·¯´×¼­¹ö
2019-08   4713   µö·¯´×¼­¹ö
2019-08   4215   ÀÓ½ÃÇö
2019-08   11094   µö·¯´×¼­¹ö