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

   Á¶È¸ 11832   Ãßõ 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 41/78
2014-05   5369604   Á¤ÀºÁØ1
2015-12   1883340   ¹é¸Þ°¡
2019-08   5919   µö·¯´×¼­¹ö
2019-08   5951   µö·¯´×¼­¹ö
2019-08   4818   Á¦°¥±âõ
2019-08   4876   Á¦°¥±âõ
2019-08   6077   µö·¯´×¼­¹ö
2019-08   5916   µö·¯´×¼­¹ö
2019-09   6154   µö·¯´×¼­¹ö
2019-09   5475   ±èȲÁß
2019-09   6255   µö·¯´×¼­¹ö
2019-09   6045   À¯Á¤È£»þÄÜ´À
2019-09   6050   ½ºÄµl¹ÎÇö±â
2019-09   6998   µö·¯´×¼­¹ö
2019-09   6322   µö·¯´×¼­¹ö
2019-09   6429   µö·¯´×¼­¹ö
2019-09   4148   FOXBI
2019-09   5441   ±¤Áֱ¸®
2019-09   8028   µö·¯´×¼­¹ö
2019-09   5332   µö·¯´×¼­¹ö
2019-09   5641   µö·¯´×¼­¹ö
2019-09   6563   µö·¯´×¼­¹ö