Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
study2study #4                 -Nginx                        -                                    @n0ts                   ...
Friday, November 11, 11
fastcgi_conf                    http://wiki.nginx.org/                NginxFullExample#fastcgi_confFriday, November 11, 11
line 1                          fastcgi_param SCRIPT_FILENAME                          $document_root$fastcgi_script_name;...
line 2                  fastcgi_param QUERY_STRING $query_string;                          $query_string = GET     $argsFr...
line 3                          fastcgi_param REQUEST_METHOD                          $request_method;                    ...
line 4           fastcgi_param CONTENT_TYPE                   $content_type;                      content_type =     Conte...
line 5                          fastcgi_param CONTENT_LENGTH                          $content_length;                    ...
line 6                          fastcgi_param SCRIPT_NAME                          $fastcgi_script_name;Friday, November 1...
line 7                          fastcgi_param REQUEST_URI                          $request_uri;                          ...
line 8                          fastcgi_param DOCUMENT_URI                          $document_uri;                        ...
line 9                          fastcgi_param DOCUMENT_ROOT                          $document_root;Friday, November 11, 11
line 10                 fastcgi_param SERVER_PROTOCOL                 $server_protocol;                          $server_p...
line 11                          fastcgi_param GATEWAY_INTERFACE                          CGI/1.1;Friday, November 11, 11
line 12                          fastcgi_param SERVER_SOFTWARE                          nginx/$nginx_version;             ...
line 13          fastcgi_param REMOTE_ADDR              $remote_addr;                                            IP       ...
line 14            fastcgi_param REMOTE_PORT                $remote_port;                          $remote_port =Friday, N...
line 15        fastcgi_param SERVER_ADDR            $server_addr;                  $server_addr =        IPFriday, Novembe...
line 16             fastcgi_param SERVER_PORT               $server_port;                          $server_port =Friday, N...
line 17           fastcgi_param SERVER_NAME            $server_name;                     $server_name =Friday, November 11...
line 19                          fastcgi_index index.php;                             URI                     URI         ...
line 21                          fastcgi_param REDIRECT_STATUS   200;Friday, November 11, 11
Friday, November 11, 11
mime_types                     http://wiki.nginx.org/                NginxFullExample#mime_typesFriday, November 11, 11
mime_types         application/x-redhat-package-manager rpm;                                                              ...
Friday, November 11, 11
Thanks!Friday, November 11, 11
Nächste SlideShare
Wird geladen in …5
×

fastcgi_conf and mime_types

1.024 Aufrufe

Veröffentlicht am

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

fastcgi_conf and mime_types

  1. 1. study2study #4 -Nginx - @n0ts Naoya NAKAZAWA 11/11/2011Friday, November 11, 11
  2. 2. Friday, November 11, 11
  3. 3. fastcgi_conf http://wiki.nginx.org/ NginxFullExample#fastcgi_confFriday, November 11, 11
  4. 4. line 1 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; $document_root = root $fastcgi_script_name = URIFriday, November 11, 11
  5. 5. line 2 fastcgi_param QUERY_STRING $query_string; $query_string = GET $argsFriday, November 11, 11
  6. 6. line 3 fastcgi_param REQUEST_METHOD $request_method; $request_method = GET or PUTFriday, November 11, 11
  7. 7. line 4 fastcgi_param CONTENT_TYPE $content_type; content_type = Content-TypeFriday, November 11, 11
  8. 8. line 5 fastcgi_param CONTENT_LENGTH $content_length; $content_length = Content-LengthFriday, November 11, 11
  9. 9. line 6 fastcgi_param SCRIPT_NAME $fastcgi_script_name;Friday, November 11, 11
  10. 10. line 7 fastcgi_param REQUEST_URI $request_uri; URI $request_uri = URI /foo/bar.php?arg=bazFriday, November 11, 11
  11. 11. line 8 fastcgi_param DOCUMENT_URI $document_uri; URI $document_uri = $uri $uri URI : /foo/ bar.htmlFriday, November 11, 11
  12. 12. line 9 fastcgi_param DOCUMENT_ROOT $document_root;Friday, November 11, 11
  13. 13. line 10 fastcgi_param SERVER_PROTOCOL $server_protocol; $server_protocol = HTTP/1.0 or HTTP/1.1.Friday, November 11, 11
  14. 14. line 11 fastcgi_param GATEWAY_INTERFACE CGI/1.1;Friday, November 11, 11
  15. 15. line 12 fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; $nginx_version = NginxFriday, November 11, 11
  16. 16. line 13 fastcgi_param REMOTE_ADDR $remote_addr; IP $remote_addr = IPFriday, November 11, 11
  17. 17. line 14 fastcgi_param REMOTE_PORT $remote_port; $remote_port =Friday, November 11, 11
  18. 18. line 15 fastcgi_param SERVER_ADDR $server_addr; $server_addr = IPFriday, November 11, 11
  19. 19. line 16 fastcgi_param SERVER_PORT $server_port; $server_port =Friday, November 11, 11
  20. 20. line 17 fastcgi_param SERVER_NAME $server_name; $server_name =Friday, November 11, 11
  21. 21. line 19 fastcgi_index index.php; URI URI / $fastcgi_script_nameFriday, November 11, 11
  22. 22. line 21 fastcgi_param REDIRECT_STATUS 200;Friday, November 11, 11
  23. 23. Friday, November 11, 11
  24. 24. mime_types http://wiki.nginx.org/ NginxFullExample#mime_typesFriday, November 11, 11
  25. 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
  26. 26. Friday, November 11, 11
  27. 27. Thanks!Friday, November 11, 11

×