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

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 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