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

   Á¶È¸ 10965   Ãßõ 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 11/76
2014-05   4478998   Á¤ÀºÁØ1
2015-12   1030950   ¹é¸Þ°¡
2021-06   3979   Á¦¿ÂÇÁ·Î
2021-06   4162   FOXBI
2021-06   4281   Á¦¿ÂÇÁ·Î
2021-06   5456   »ßµ¹À̽½ÇÄÀÌ
2021-05   4190   ÇöÁø
2021-05   4103   ÇöÁø
2021-05   4652   »ßµ¹À̽½ÇÄÀÌ
2021-04   7084   È­Á¤Å¥»ï
2021-04   8186   È­Á¤Å¥»ï
2021-04   7679   ½ºÄµl¹ÎÇö±â
2021-04   10154   ÀüÁ÷P¿¬±¸¿ø
2021-03   18330   È­Á¤Å¥»ï
2021-03   6852   ¾Ç¸¶¶ó³×
2021-03   11435   ±èȲÁß
2021-03   7342   ±èÀå¿ì
2021-03   9379   ½ºÄµl¹ÎÇö±â
2021-03   5413   ¹«¾Æ
2021-03   7622   ¹«¾Æ
2021-03   5161   »ßµ¹À̽½ÇÄÀÌ
2021-02   6075   »õÇϾᱸ¸§