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

   Á¶È¸ 11857   Ãßõ 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/78
2015-12   1894365   ¹é¸Þ°¡
2014-05   5380082   Á¤ÀºÁØ1
2021-07   11107   ±èȲÁß
2018-06   11108   ȸ¿øK
2016-03   11130   µðºñµð
2018-06   11133   ÀüÁ÷P¿¬±¸¿ø
2021-03   11134   ½ºÄµl¹ÎÇö±â
2018-10   11147   ¹Ì³ª¸®³ª¹°
2015-12   11178   ¼Ò¸Á»ç¶û71
2019-07   11195   À̼±È£
2018-06   11197   ÀÌÁ¾Çöoph
2018-10   11209   ȲÁø¿ì
2016-04   11248   ¹«¾Æ
2017-10   11250   theÃ̳ð
2019-03   11272   pmnxis
2018-10   11291   ºí·ç2014
2024-07   11323   sbg2005
2017-05   11332   DoubleSH
2017-05   11387   ´ÊÀáÀڴ¾ÆÀÌ
2015-12   11426   ¼Ò¸Á»ç¶û71
2024-07   11544   À¯Á¤È£»þÄÜ´À
2017-04   11557   ÃÖµ¿Çö