Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
ãã¡ã¤ã«ã®ã¢ãããã¼ããåä½ããªãã¨æã£ãã nginxã®ãã°ã«ä»¥ä¸ã®ã¡ãã»ã¼ã¸ãåºã¦ã¾ããã client intented to send too large body ã¢ãããã¼ãã§ããä¸éãµã¤ãºãè¶ ãã¦ãã¾ã£ã¦ããããã§ãã è¨å®ãã¡ã¤ã«ã«ãclient_max_body_sizeãã追å ãã¦ä¸éã大ãããã¾ããã location / { ??? client_max_body_size 20M; }
Name chocoby, cho_co, Kenta Okamoto Links Blog (2019-) Blog GitHub (chocoby) Twitter (cho_co) Speaker Deck (chocoby) Mail Development CurryBu Web service to share and explore curry ð jp_prefecture Convert japan prefecture code into prefecture name buranko Tool to parse a git branch name and append commit message Skills Programming - Ruby, Swift, Golang, JavaScript (Flow, TypeScript) Frameworks -
ãããã®VPS CentOSã§ãµã¼ãæ§ç¯ ä½æ¥ãã¼ã20åç®ã Apacheãããå°ãªãã¡ã¢ãªæ¶è²»ã§ããããé«éã ã¨è¨ããã¦ãæè¿è©±é¡ã®Webãµã¼ããNginxããå ¥ãã¦ã¿ã¾ããCGIç³»ã¯Apacheã¨åçãéçãã¡ã¤ã«ã¯Apacheãããããªãé«éã«å¦çã§ãã¾ãã Passengerã®ã¤ã³ã¹ãã¼ã«ã¨yumã®ãªãã¸ããªè¿½å ã®ä½æ¥ãåæã§ãã ã¤ã³ã¹ãã¼ã«åæºå ãããã®VPSã®æ¨æºOSã¯CentOSã®64bitçã§ããããªããæåãã32bitçã®ããã±ã¼ã¸ãããã¤ãå ¥ã£ã¦ãã¾ããNginxãã¤ã³ã¹ãã¼ã«ããæã«mysqlçãææ°çã«ã¢ãããã¼ããããã®ã§ããã32bitçã®å½±é¿ã§ã¢ãããã¼ããã¨ã©ã¼ãèµ·ããå ´åãããã®ã§ã32bitçã®ããã±ã¼ã¸ãåé¤ãã¦ãã¾ãã¾ããããç¹ã«åé¡ã¯ã§ãªãã¨æãã¾ãã æé ã¯ç°¡åãroot権éã§yumã³ãã³ãã§ä¸çºã§ãã [root@ ~]# yum
nginxã®WebDAVçµç±ã§å¤§ããªãã¡ã¤ã«ãã¢ãããã¼ãããå ´åãclient_max_body_sizeã®è¨å®å¤ã«æ³¨æããå¿ è¦ããããclient_max_body_sizeãã大ãããã¡ã¤ã«ãPUTãããã¨ããã¨ãã¨ã©ã¼(HTTP 413)ã«ãªããclient_max_body_sizeã®ããã©ã«ãå¤ã¯1Mãããã100Mã«ã«å¤æ´ãããªãã°ã location / { root /data/www; client_body_temp_path /data/client_temp; client_max_body_size 100m; dav_methods PUT DELETE MKCOL COPY MOVE; create_full_put_path on; dav_access group:r all:r; limit_except GET { allow 192.168.1.0
æ¥çæ¨æºã®CentOSã§çã®å¤§å¥½ããªPHPãçã®å¤§å¥½ããªnginxã§åããã大åæã¨ãã¦nginxã§PHPãåãããªãã°é¸æè¢ã¯FastCGIã¨ãããã¨ã«ãªããphp-fpmã¨ãããã®ããããããããã§ããã ãæ¨æºã»æºæ¨æºã®RPMã使ããã¨ãèãããã¾ããCentOSã®æ¨æºã®PHPã¯--enable-fastcgiã¤ãã§ã³ã³ãã¤ã«ããã¦ããã®ã§FastCGIã§åããã«ããã£ã¦ç¹ã«åé¡ã¯ãªãã以ä¸ã®ã³ãã³ãã§ç¢ºèªã§ããã $ php -i | grep fastcgi nginxã®è¨å®ãªã®ã§ãnginxå´ã§æ¬¡ã®ãããªè¨å®ãè¡ãã server { listen 80; server_name goto.php.examle.com; location / { fastcgi_pass 127.0.0.1:8080; fastcgi_index index.php; fastcgi_param
Celebrating 20 years of nginx! Read about our journey and milestones in the latest blog. nginx ("engine x") is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy server, and mail proxy server. Originally written by Igor Sysoev and distributed under the 2-clause BSD License. Enterprise distributions, commercial support and training are available from F5, Inc. Docs ⢠Code
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}