Your SlideShare is downloading. ×
0
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
fastcgi_conf and mime_types
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

fastcgi_conf and mime_types

607

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
607
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. study2study #4 -Nginx - @n0ts Naoya NAKAZAWA 11/11/2011Friday, November 11, 11
  • 2. Friday, November 11, 11
  • 3. fastcgi_conf http://wiki.nginx.org/ NginxFullExample#fastcgi_confFriday, November 11, 11
  • 4. line 1 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; $document_root = root $fastcgi_script_name = URIFriday, November 11, 11
  • 5. line 2 fastcgi_param QUERY_STRING $query_string; $query_string = GET $argsFriday, November 11, 11
  • 6. line 3 fastcgi_param REQUEST_METHOD $request_method; $request_method = GET or PUTFriday, November 11, 11
  • 7. line 4 fastcgi_param CONTENT_TYPE $content_type; content_type = Content-TypeFriday, November 11, 11
  • 8. line 5 fastcgi_param CONTENT_LENGTH $content_length; $content_length = Content-LengthFriday, 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=bazFriday, November 11, 11
  • 11. line 8 fastcgi_param DOCUMENT_URI $document_uri; URI $document_uri = $uri $uri URI : /foo/ bar.htmlFriday, 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 = NginxFriday, November 11, 11
  • 16. line 13 fastcgi_param REMOTE_ADDR $remote_addr; IP $remote_addr = IPFriday, 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 = IPFriday, 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_nameFriday, November 11, 11
  • 22. line 21 fastcgi_param REDIRECT_STATUS 200;Friday, November 11, 11
  • 23. Friday, November 11, 11
  • 24. mime_types http://wiki.nginx.org/ NginxFullExample#mime_typesFriday, 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
  • 26. Friday, November 11, 11
  • 27. Thanks!Friday, November 11, 11

×