SlideShare una empresa de Scribd logo
1 de 27
Descargar para leer sin conexión
study2study #4
                 -Nginx                        -
                                    @n0ts
                              Naoya NAKAZAWA
                                  11/11/2011




Friday, November 11, 11
Friday, November 11, 11
fastcgi_conf
                    http://wiki.nginx.org/
                NginxFullExample#fastcgi_conf



Friday, November 11, 11
line 1
                          fastcgi_param SCRIPT_FILENAME
                          $document_root$fastcgi_script_name;


                             $document_root =             root



                             $fastcgi_script_name = URI




Friday, November 11, 11
line 2

                  fastcgi_param QUERY_STRING $query_string;


                          $query_string = GET     $args




Friday, November 11, 11
line 3

                          fastcgi_param REQUEST_METHOD
                          $request_method;


                            $request_method = GET or PUT




Friday, November 11, 11
line 4

           fastcgi_param CONTENT_TYPE                   $content_type;


                      content_type =     Content-Type




Friday, November 11, 11
line 5

                          fastcgi_param CONTENT_LENGTH
                          $content_length;


                            $content_length =            Content-Length




Friday, November 11, 11
line 6


                          fastcgi_param SCRIPT_NAME
                          $fastcgi_script_name;




Friday, November 11, 11
line 7

                          fastcgi_param REQUEST_URI
                          $request_uri;
                                             URI
                            $request_uri =         URI   /foo/bar.php?arg=baz




Friday, November 11, 11
line 8

                          fastcgi_param DOCUMENT_URI
                          $document_uri;
                                                   URI
                            $document_uri = $uri     $uri   URI   : /foo/
                            bar.html




Friday, November 11, 11
line 9


                          fastcgi_param DOCUMENT_ROOT
                          $document_root;




Friday, November 11, 11
line 10

                 fastcgi_param SERVER_PROTOCOL
                 $server_protocol;


                          $server_protocol =             HTTP/1.0 or HTTP/1.1.




Friday, November 11, 11
line 11


                          fastcgi_param GATEWAY_INTERFACE
                          CGI/1.1;




Friday, November 11, 11
line 12

                          fastcgi_param SERVER_SOFTWARE
                          nginx/$nginx_version;


                            $nginx_version =        Nginx




Friday, November 11, 11
line 13

          fastcgi_param REMOTE_ADDR              $remote_addr;
                                            IP
                    $remote_addr =     IP




Friday, November 11, 11
line 14

            fastcgi_param REMOTE_PORT                $remote_port;


                          $remote_port =




Friday, November 11, 11
line 15

        fastcgi_param SERVER_ADDR            $server_addr;


                  $server_addr =        IP




Friday, November 11, 11
line 16

             fastcgi_param SERVER_PORT               $server_port;


                          $server_port =




Friday, November 11, 11
line 17

           fastcgi_param SERVER_NAME            $server_name;


                     $server_name =




Friday, November 11, 11
line 19

                          fastcgi_index index.php;
                             URI                     URI
                               /
                             $fastcgi_script_name




Friday, November 11, 11
line 21


                          fastcgi_param REDIRECT_STATUS   200;




Friday, November 11, 11
Friday, November 11, 11
mime_types
                     http://wiki.nginx.org/
                NginxFullExample#mime_types



Friday, November 11, 11
mime_types         application/x-redhat-package-manager rpm;
                                                                                   application/x-sea               sea;
                          types {
                           text/html                         html htm shtml;       application/x-shockwave-flash              swf;
                           text/css                      css;                      application/x-stuffit           sit;
                           text/xml                          xml rss;              application/x-tcl              tcl tk;
                           image/gif                     gif;
                                                                                   application/x-x509-ca-cert             der pem crt;
                           image/jpeg                        jpeg jpg;
                           application/x-javascript             js;
                                                                                   application/x-xpinstall          xpi;
                           text/plain                    txt;                      application/zip                zip;
                           text/x-component                         htc;           application/octet-stream              deb;
                           text/mathml                        mml;
                                                                                   application/octet-stream              bin exe dll;
                           image/png                         png;
                                                                                   application/octet-stream              dmg;
                           image/x-icon                       ico;
                           image/x-jng                       jng;                  application/octet-stream              eot;
                           image/vnd.wap.wbmp                         wbmp;        application/octet-stream              iso img;
                           application/java-archive             jar war ear;
                                                                                   application/octet-stream              msi msp msm;
                           application/mac-binhex40                   hqx;
                                                                                   audio/mpeg                     mp3;
                           application/pdf                    pdf;
                           application/x-cocoa                  cco;               audio/x-realaudio                ra;
                           application/x-java-archive-diff          jardiff;       video/mpeg                     mpeg mpg;
                           application/x-java-jnlp-file          jnlp;
                                                                                   video/quicktime                 mov;
                           application/x-makeself                run;
                                                                                   video/x-flv                   flv;
                           application/x-perl                  pl pm;
                           application/x-pilot                prc pdb;             video/x-msvideo                    avi;
                           application/x-rar-compressed                rar;        video/x-ms-wmv                      wmv;
                                                                                   video/x-ms-asf                  asx asf;
                                                                                   video/x-mng                     mng;
                                                                               }


Friday, November 11, 11
Friday, November 11, 11
Thanks!



Friday, November 11, 11

Más contenido relacionado

La actualidad más candente

Nette framework (WebElement #28)
Nette framework (WebElement #28)Nette framework (WebElement #28)
Nette framework (WebElement #28)Adam Štipák
 
PECL Picks - Extensions to make your life better
PECL Picks - Extensions to make your life betterPECL Picks - Extensions to make your life better
PECL Picks - Extensions to make your life betterZendCon
 
Php 7 hhvm and co
Php 7 hhvm and coPhp 7 hhvm and co
Php 7 hhvm and coPierre Joye
 
Introduction to PHP
Introduction to PHPIntroduction to PHP
Introduction to PHPBradley Holt
 
Streams, sockets and filters oh my!
Streams, sockets and filters oh my!Streams, sockets and filters oh my!
Streams, sockets and filters oh my!Elizabeth Smith
 
Fluentd meetup dive into fluent plugin (outdated)
Fluentd meetup dive into fluent plugin (outdated)Fluentd meetup dive into fluent plugin (outdated)
Fluentd meetup dive into fluent plugin (outdated)N Masahiro
 
typemap in Perl/XS
typemap in Perl/XS  typemap in Perl/XS
typemap in Perl/XS charsbar
 
Github.com anton terekhov-orientdb-php
Github.com anton terekhov-orientdb-phpGithub.com anton terekhov-orientdb-php
Github.com anton terekhov-orientdb-phpSan jay
 
Php on the Web and Desktop
Php on the Web and DesktopPhp on the Web and Desktop
Php on the Web and DesktopElizabeth Smith
 
parenscript-tutorial
parenscript-tutorialparenscript-tutorial
parenscript-tutorialtutorialsruby
 
Study2study#4 nginx conf_1_24
Study2study#4 nginx conf_1_24Study2study#4 nginx conf_1_24
Study2study#4 nginx conf_1_24Naoya Nakazawa
 
PHP 5.6 New and Deprecated Features
PHP 5.6  New and Deprecated FeaturesPHP 5.6  New and Deprecated Features
PHP 5.6 New and Deprecated FeaturesMark Niebergall
 
A History of PHP
A History of PHPA History of PHP
A History of PHPXinchen Hui
 

La actualidad más candente (20)

The state of DI - DPC12
The state of DI - DPC12The state of DI - DPC12
The state of DI - DPC12
 
Nette framework (WebElement #28)
Nette framework (WebElement #28)Nette framework (WebElement #28)
Nette framework (WebElement #28)
 
Hacking with hhvm
Hacking with hhvmHacking with hhvm
Hacking with hhvm
 
PECL Picks - Extensions to make your life better
PECL Picks - Extensions to make your life betterPECL Picks - Extensions to make your life better
PECL Picks - Extensions to make your life better
 
PHP5.5 is Here
PHP5.5 is HerePHP5.5 is Here
PHP5.5 is Here
 
Php 7 hhvm and co
Php 7 hhvm and coPhp 7 hhvm and co
Php 7 hhvm and co
 
Introduction to PHP
Introduction to PHPIntroduction to PHP
Introduction to PHP
 
Streams, sockets and filters oh my!
Streams, sockets and filters oh my!Streams, sockets and filters oh my!
Streams, sockets and filters oh my!
 
Fluentd meetup dive into fluent plugin (outdated)
Fluentd meetup dive into fluent plugin (outdated)Fluentd meetup dive into fluent plugin (outdated)
Fluentd meetup dive into fluent plugin (outdated)
 
Introduction to php php++
Introduction to php php++Introduction to php php++
Introduction to php php++
 
typemap in Perl/XS
typemap in Perl/XS  typemap in Perl/XS
typemap in Perl/XS
 
Php’s guts
Php’s gutsPhp’s guts
Php’s guts
 
Github.com anton terekhov-orientdb-php
Github.com anton terekhov-orientdb-phpGithub.com anton terekhov-orientdb-php
Github.com anton terekhov-orientdb-php
 
Php on the Web and Desktop
Php on the Web and DesktopPhp on the Web and Desktop
Php on the Web and Desktop
 
Php.ppt
Php.pptPhp.ppt
Php.ppt
 
parenscript-tutorial
parenscript-tutorialparenscript-tutorial
parenscript-tutorial
 
PHP7 is coming
PHP7 is comingPHP7 is coming
PHP7 is coming
 
Study2study#4 nginx conf_1_24
Study2study#4 nginx conf_1_24Study2study#4 nginx conf_1_24
Study2study#4 nginx conf_1_24
 
PHP 5.6 New and Deprecated Features
PHP 5.6  New and Deprecated FeaturesPHP 5.6  New and Deprecated Features
PHP 5.6 New and Deprecated Features
 
A History of PHP
A History of PHPA History of PHP
A History of PHP
 

Similar a fastcgi_conf and mime_types

nginxをソースからインストールしてみたよ
nginxをソースからインストールしてみたよnginxをソースからインストールしてみたよ
nginxをソースからインストールしてみたよmamoru tateoka
 
Active Record Introduction - 3
Active Record Introduction - 3Active Record Introduction - 3
Active Record Introduction - 3Blazing Cloud
 
Utility Modules That You Should Know About
Utility Modules That You Should Know AboutUtility Modules That You Should Know About
Utility Modules That You Should Know Aboutjoshua.mcadams
 
PHP Streams
PHP StreamsPHP Streams
PHP StreamsG Woo
 
Tobias Nyholm "Deep dive into Symfony 4 internals"
Tobias Nyholm "Deep dive into Symfony 4 internals"Tobias Nyholm "Deep dive into Symfony 4 internals"
Tobias Nyholm "Deep dive into Symfony 4 internals"Fwdays
 
livedoor blogのsorryサーバの話 #study2study
livedoor blogのsorryサーバの話 #study2studylivedoor blogのsorryサーバの話 #study2study
livedoor blogのsorryサーバの話 #study2studySATOSHI TAGOMORI
 
Drupal 8 Services And Dependency Injection
Drupal 8 Services And Dependency InjectionDrupal 8 Services And Dependency Injection
Drupal 8 Services And Dependency InjectionPhilip Norton
 
PHP Server-side Breakout
PHP Server-side BreakoutPHP Server-side Breakout
PHP Server-side BreakoutSencha
 
2019 brkdwn spvrk
2019 brkdwn spvrk2019 brkdwn spvrk
2019 brkdwn spvrkBRKDWN
 
Writing Secure Plugins — WordCamp New York 2009
Writing Secure Plugins — WordCamp New York 2009Writing Secure Plugins — WordCamp New York 2009
Writing Secure Plugins — WordCamp New York 2009Mark Jaquith
 
Ruby + Rails
Ruby + RailsRuby + Rails
Ruby + Railsbetabeers
 

Similar a fastcgi_conf and mime_types (11)

nginxをソースからインストールしてみたよ
nginxをソースからインストールしてみたよnginxをソースからインストールしてみたよ
nginxをソースからインストールしてみたよ
 
Active Record Introduction - 3
Active Record Introduction - 3Active Record Introduction - 3
Active Record Introduction - 3
 
Utility Modules That You Should Know About
Utility Modules That You Should Know AboutUtility Modules That You Should Know About
Utility Modules That You Should Know About
 
PHP Streams
PHP StreamsPHP Streams
PHP Streams
 
Tobias Nyholm "Deep dive into Symfony 4 internals"
Tobias Nyholm "Deep dive into Symfony 4 internals"Tobias Nyholm "Deep dive into Symfony 4 internals"
Tobias Nyholm "Deep dive into Symfony 4 internals"
 
livedoor blogのsorryサーバの話 #study2study
livedoor blogのsorryサーバの話 #study2studylivedoor blogのsorryサーバの話 #study2study
livedoor blogのsorryサーバの話 #study2study
 
Drupal 8 Services And Dependency Injection
Drupal 8 Services And Dependency InjectionDrupal 8 Services And Dependency Injection
Drupal 8 Services And Dependency Injection
 
PHP Server-side Breakout
PHP Server-side BreakoutPHP Server-side Breakout
PHP Server-side Breakout
 
2019 brkdwn spvrk
2019 brkdwn spvrk2019 brkdwn spvrk
2019 brkdwn spvrk
 
Writing Secure Plugins — WordCamp New York 2009
Writing Secure Plugins — WordCamp New York 2009Writing Secure Plugins — WordCamp New York 2009
Writing Secure Plugins — WordCamp New York 2009
 
Ruby + Rails
Ruby + RailsRuby + Rails
Ruby + Rails
 

Más de Naoya Nakazawa

お手軽に使おう Alibaba Cloud - OSS 編 -
お手軽に使おう Alibaba Cloud - OSS 編 -お手軽に使おう Alibaba Cloud - OSS 編 -
お手軽に使おう Alibaba Cloud - OSS 編 -Naoya Nakazawa
 
kumogata-template の紹介
kumogata-template の紹介kumogata-template の紹介
kumogata-template の紹介Naoya Nakazawa
 
はじめての Gatling
はじめての Gatlingはじめての Gatling
はじめての GatlingNaoya Nakazawa
 
はじめての datadog
はじめての datadogはじめての datadog
はじめての datadogNaoya Nakazawa
 
Monit & Supervisord Tips
Monit & Supervisord TipsMonit & Supervisord Tips
Monit & Supervisord TipsNaoya Nakazawa
 
ぼくがかんがえたさいきょうの☆きっくすたーと☆
ぼくがかんがえたさいきょうの☆きっくすたーと☆ぼくがかんがえたさいきょうの☆きっくすたーと☆
ぼくがかんがえたさいきょうの☆きっくすたーと☆Naoya Nakazawa
 
データセンター移行に伴い、 MySQLをカジュアルにアップグレードしたお話
データセンター移行に伴い、 MySQLをカジュアルにアップグレードしたお話データセンター移行に伴い、 MySQLをカジュアルにアップグレードしたお話
データセンター移行に伴い、 MySQLをカジュアルにアップグレードしたお話Naoya Nakazawa
 
Apache 2.4 ChangeLog at 闇Webサーバ勉強会#5
Apache 2.4 ChangeLog at 闇Webサーバ勉強会#5Apache 2.4 ChangeLog at 闇Webサーバ勉強会#5
Apache 2.4 ChangeLog at 闇Webサーバ勉強会#5Naoya Nakazawa
 
/etc/rc.d配下とかのリーディング勉強会
/etc/rc.d配下とかのリーディング勉強会/etc/rc.d配下とかのリーディング勉強会
/etc/rc.d配下とかのリーディング勉強会Naoya Nakazawa
 
mod_security introduction at study2study #3
mod_security introduction at study2study #3mod_security introduction at study2study #3
mod_security introduction at study2study #3Naoya Nakazawa
 
httpd.conf line 1 to 7, 24
httpd.conf line 1 to 7, 24httpd.conf line 1 to 7, 24
httpd.conf line 1 to 7, 24Naoya Nakazawa
 
puppet @techlifecookpad
puppet @techlifecookpadpuppet @techlifecookpad
puppet @techlifecookpadNaoya Nakazawa
 
zsh最強シェル入門読書会1
zsh最強シェル入門読書会1zsh最強シェル入門読書会1
zsh最強シェル入門読書会1Naoya Nakazawa
 

Más de Naoya Nakazawa (17)

お手軽に使おう Alibaba Cloud - OSS 編 -
お手軽に使おう Alibaba Cloud - OSS 編 -お手軽に使おう Alibaba Cloud - OSS 編 -
お手軽に使おう Alibaba Cloud - OSS 編 -
 
DATADOG TIPS #1
DATADOG TIPS #1DATADOG TIPS #1
DATADOG TIPS #1
 
kumogata-template の紹介
kumogata-template の紹介kumogata-template の紹介
kumogata-template の紹介
 
はじめての Gatling
はじめての Gatlingはじめての Gatling
はじめての Gatling
 
はじめての datadog
はじめての datadogはじめての datadog
はじめての datadog
 
Monit & Supervisord Tips
Monit & Supervisord TipsMonit & Supervisord Tips
Monit & Supervisord Tips
 
ぼくがかんがえたさいきょうの☆きっくすたーと☆
ぼくがかんがえたさいきょうの☆きっくすたーと☆ぼくがかんがえたさいきょうの☆きっくすたーと☆
ぼくがかんがえたさいきょうの☆きっくすたーと☆
 
データセンター移行に伴い、 MySQLをカジュアルにアップグレードしたお話
データセンター移行に伴い、 MySQLをカジュアルにアップグレードしたお話データセンター移行に伴い、 MySQLをカジュアルにアップグレードしたお話
データセンター移行に伴い、 MySQLをカジュアルにアップグレードしたお話
 
Apache 2.4 ChangeLog at 闇Webサーバ勉強会#5
Apache 2.4 ChangeLog at 闇Webサーバ勉強会#5Apache 2.4 ChangeLog at 闇Webサーバ勉強会#5
Apache 2.4 ChangeLog at 闇Webサーバ勉強会#5
 
/etc/rc.d配下とかのリーディング勉強会
/etc/rc.d配下とかのリーディング勉強会/etc/rc.d配下とかのリーディング勉強会
/etc/rc.d配下とかのリーディング勉強会
 
mod_security introduction at study2study #3
mod_security introduction at study2study #3mod_security introduction at study2study #3
mod_security introduction at study2study #3
 
httpd.conf line 1 to 7, 24
httpd.conf line 1 to 7, 24httpd.conf line 1 to 7, 24
httpd.conf line 1 to 7, 24
 
puppet @techlifecookpad
puppet @techlifecookpadpuppet @techlifecookpad
puppet @techlifecookpad
 
zsh最強シェル入門読書会1
zsh最強シェル入門読書会1zsh最強シェル入門読書会1
zsh最強シェル入門読書会1
 
Velocity Report 2009
Velocity Report 2009Velocity Report 2009
Velocity Report 2009
 
Mac Ports
Mac PortsMac Ports
Mac Ports
 
STL
STLSTL
STL
 

Último

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Último (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

fastcgi_conf and mime_types

  • 1. study2study #4 -Nginx - @n0ts Naoya NAKAZAWA 11/11/2011 Friday, November 11, 11
  • 3. fastcgi_conf http://wiki.nginx.org/ NginxFullExample#fastcgi_conf Friday, November 11, 11
  • 4. line 1 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; $document_root = root $fastcgi_script_name = URI Friday, November 11, 11
  • 5. line 2 fastcgi_param QUERY_STRING $query_string; $query_string = GET $args Friday, November 11, 11
  • 6. line 3 fastcgi_param REQUEST_METHOD $request_method; $request_method = GET or PUT Friday, November 11, 11
  • 7. line 4 fastcgi_param CONTENT_TYPE $content_type; content_type = Content-Type Friday, November 11, 11
  • 8. line 5 fastcgi_param CONTENT_LENGTH $content_length; $content_length = Content-Length Friday, November 11, 11
  • 9. line 6 fastcgi_param SCRIPT_NAME $fastcgi_script_name; Friday, November 11, 11
  • 10. line 7 fastcgi_param REQUEST_URI $request_uri; URI $request_uri = URI /foo/bar.php?arg=baz Friday, November 11, 11
  • 11. line 8 fastcgi_param DOCUMENT_URI $document_uri; URI $document_uri = $uri $uri URI : /foo/ bar.html Friday, November 11, 11
  • 12. line 9 fastcgi_param DOCUMENT_ROOT $document_root; Friday, November 11, 11
  • 13. line 10 fastcgi_param SERVER_PROTOCOL $server_protocol; $server_protocol = HTTP/1.0 or HTTP/1.1. Friday, November 11, 11
  • 14. line 11 fastcgi_param GATEWAY_INTERFACE CGI/1.1; Friday, November 11, 11
  • 15. line 12 fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; $nginx_version = Nginx Friday, November 11, 11
  • 16. line 13 fastcgi_param REMOTE_ADDR $remote_addr; IP $remote_addr = IP Friday, November 11, 11
  • 17. line 14 fastcgi_param REMOTE_PORT $remote_port; $remote_port = Friday, November 11, 11
  • 18. line 15 fastcgi_param SERVER_ADDR $server_addr; $server_addr = IP Friday, November 11, 11
  • 19. line 16 fastcgi_param SERVER_PORT $server_port; $server_port = Friday, November 11, 11
  • 20. line 17 fastcgi_param SERVER_NAME $server_name; $server_name = Friday, November 11, 11
  • 21. line 19 fastcgi_index index.php; URI URI / $fastcgi_script_name Friday, November 11, 11
  • 22. line 21 fastcgi_param REDIRECT_STATUS 200; Friday, November 11, 11
  • 24. mime_types http://wiki.nginx.org/ NginxFullExample#mime_types Friday, November 11, 11
  • 25. mime_types application/x-redhat-package-manager rpm; application/x-sea sea; types { text/html html htm shtml; application/x-shockwave-flash swf; text/css css; application/x-stuffit sit; text/xml xml rss; application/x-tcl tcl tk; image/gif gif; application/x-x509-ca-cert der pem crt; image/jpeg jpeg jpg; application/x-javascript js; application/x-xpinstall xpi; text/plain txt; application/zip zip; text/x-component htc; application/octet-stream deb; text/mathml mml; application/octet-stream bin exe dll; image/png png; application/octet-stream dmg; image/x-icon ico; image/x-jng jng; application/octet-stream eot; image/vnd.wap.wbmp wbmp; application/octet-stream iso img; application/java-archive jar war ear; application/octet-stream msi msp msm; application/mac-binhex40 hqx; audio/mpeg mp3; application/pdf pdf; application/x-cocoa cco; audio/x-realaudio ra; application/x-java-archive-diff jardiff; video/mpeg mpeg mpg; application/x-java-jnlp-file jnlp; video/quicktime mov; application/x-makeself run; video/x-flv flv; application/x-perl pl pm; application/x-pilot prc pdb; video/x-msvideo avi; application/x-rar-compressed rar; video/x-ms-wmv wmv; video/x-ms-asf asx asf; video/x-mng mng; } Friday, November 11, 11