SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 

Kürzlich hochgeladen (20)

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 

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