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

   Á¶È¸ 13019   Ãßõ 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 28/80
2015-12   2340433   ¹é¸Þ°¡
2014-05   5854621   Á¤ÀºÁØ1
2016-03   13020   ȸ¿øK
2021-04   13036   ÀüÁ÷P¿¬±¸¿ø
2022-05   13043   ÆÄ¶û¹ÎÆ®
2017-06   13079   Asra
2016-03   13120   ¼­¿ïI±èµ¿¼ö
2018-10   13168   ºí·ç2014
2022-06   13191   »ßµ¹À̽½ÇÄÀÌ
2017-04   13230   ÃÖµ¿Çö
2023-06   13246   Á¤¹«Çö
2016-04   13254   º­¶ûÀ§¿¡Æ÷´¢
2018-09   13260   µ¿·Â
2020-10   13264   ÀÌõdz
2016-03   13334   µðºñµð
2019-03   13342   pmnxis
2019-07   13345   À̼±È£
2016-12   13356   Á¦ÈÄ
2016-03   13362   ³ë½º¿ìµå
2016-03   13379   ȸ¿øK
2016-03   13426   ºóÀ̾ƺü
2024-07   13448   Chobo01