server { listen 80; server_name hoge.example.com; location / { add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods "POST, GET, OPTIONS"; add_header Access-Control-Allow-Headers "Origin, Authorization, Accept"; add_header Access-Control-Allow-Credentials true; proxy_pass http://localhost:8888; } }
Join us on the new NGINX Community Forum to connect with users, discover the latest community activity, and troubleshoot issues together. $ancient_browser $arg_ $args $binary_remote_addr (ngx_http_core_module) $binary_remote_addr (ngx_stream_core_module) $body_bytes_sent $bytes_received $bytes_sent (ngx_http_core_module) $bytes_sent (ngx_http_log_module) $bytes_sent (ngx_stream_core_module) $conne
nginx.conf ��ꫀU http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format ltsv 'domain:$host\t' 'host:$remote_addr\t' 'user:$remote_user\t' 'time:$time_local\t' 'method:$request_method\t' 'path:$request_uri\t' 'protocol:$server_protocol\t' 'status:$status\t' 'size:$body_bytes_sent\t' 'referer:$http_referer\t' 'agent:$http_user_agent\t' 'response_time:$request_time\t'
F5 Sites DevCentral Connect & learn in our hosted community F5 Labs The latest threat intel and research to help protect your apps MyF5 Your key to everything F5, including support, registration keys, and subscriptions Partner Central Research and support for partners LearnF5 Guidance, insights, and how to use F5 products Contact F5 Contact F5 Sales Talk to an F5 sales representative Contact F5 Su
DevCentral Connect & learn in our hosted community MyF5 Your key to everything F5, including support, registration keys, and subscriptions NGINX Learn more about NGINX Open Source and read the community blog NGINX Product Documentation Learn how to deliver, manage, and protect your applications using F5 NGINX products.
ã¯ã˜ã‚㫠僕ã¯ç›²ç›®çš„ã«unicornã‚’èµ·å‹•ã™ã‚‹ãŸã‚ã ã‘ã«nginxを使ã£ã¦ã„ã¦ã€è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®å†…容ã¨ã‹ã‚’ã»ã¨ã‚“ã©çŸ¥ã‚‰ãªã„。 ãªã®ã§ã€ã“ã“ã«nginxã®è¨å®šå†…容をã¾ã¨ã‚る事ã§è‡ªåˆ†è‡ªèº«ãŒè¦šãˆã‚ˆã†ã¨æ€ã†ã€‚ 普段使ã†å¤§æŠµã®è¨å®šã¯è¨˜è¼‰ã—ã¦ã„ã‚‹ã¤ã‚‚ã‚Šã§ã™ã€‚ 記載内容ã¯å®Ÿéš›ã«è©¦ã—ãŸã‚‚ã®ã¨è©¦ã—ã¦ãªã„ã‚‚ã®ãŒæ··åœ¨ã—ã¦ã‚‹ã®ã§ã€èª¤ã£ãŸè¨å®šãªã©ãŒã‚ã‚‹ã‹ã‚‚ã—ã‚Œãªã„ã®ã§ãã®è¾ºã¯ã‚³ãƒ¡ãƒ³ãƒˆã§ã”指摘ã„ãŸã ã‘ã‚‹ã¨åŠ©ã‹ã‚Šã¾ã™ã€‚ インストール インストールã«ã¤ã„ã¦ã¯åƒ•ãŒæ›¸ãより他ã®äººã®è¨˜äº‹ã‚’見ãŸæ–¹ãŒã„ã„ã¨æ€ã†ã€‚ centosã«å…¥ã‚Œã‚‹ãªã‚‰ä»¥ä¸‹ã®è¨˜äº‹ãŒå‚考ã«ãªã‚‹ã€‚ CentOS6.xã«ã¦nginxã®æœ€æ–°ç‰ˆã‚’インストールã™ã‚‹æ‰‹é † CentOS 6.5ã§nginxã‚’å‹•ã‹ã™ç‚ºã®æœ€ä½Žé™ã®è¨å®š ã¾ãŸchefã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã™ã‚‹å ´åˆã¯ä»¥ä¸‹ã®è¨˜äº‹ãŒå½¹ã«ãŸã¤ã€‚ Chefã§nginxã‚’å°Žå…¥ã—ã¦ã¿ã‚‹ Chefã§Nginxをインストールã™ã‚‹ã¨ãã«ãƒãƒžã£ãŸ c
SREãƒãƒ¼ãƒ ã®@cubicdaiyaã§ã™ã€‚今回ã¯nginxã«ã‚ˆã‚‹TCPレイヤーã§ã®ãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚¹ã«ã¤ã„ã¦è§£èª¬ã—ã¾ã™ã€‚ ãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚µãƒ¼ã¨ã—ã¦ã®nginx nginxã¯HTTPã‚„TCPã€UDPç‰ã®è¤‡æ•°ã®ãƒ¬ã‚¤ãƒ¤ãƒ¼ã§ãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚µãƒ¼ã¨ã—ã¦ç¨¼åƒã•ã›ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚(TCPãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚µãƒ¼ã¯1.9.0以é™ã€UDPãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚µãƒ¼ã¯1.9.13以é™ã§åˆ©ç”¨å¯èƒ½ã§ã™ï¼‰ ã¾ãŸã€ngx_http_ssl_module ã‚„ ngx_stream_ssl_module を利用ã™ã‚‹ã“ã¨ã§ãã‚Œãžã‚Œã®ãƒ¬ã‚¤ãƒ¤ãƒ¼ã§TLSを有効化ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ã€‚ TCPãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚µãƒ¼ç”¨ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã‚’有効ã«ã™ã‚‹ HTTPレイヤーã§ãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚¹ã™ã‚‹ãŸã‚ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§çµ„ã¿è¾¼ã¾ã‚Œã¾ã™ãŒã€TCP(ã¨UDP)レイヤーã§ãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚¹ã™ã‚‹ã«ã¯nginxã®configureスクリプトã«--with-stream(ã‚ã‚‹ã„㯠--with
複数ã®ã‚¢ãƒ—リケーションインスタンスを横æ–ã—ã¦ãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚¹ã™ã‚‹ã“ã¨ã¯ã€ãƒªã‚½ãƒ¼ã‚¹ã®åˆ©ç”¨ã®æœ€é©åŒ–ã€ã‚¹ãƒ«ãƒ¼ãƒ—ットã®æœ€å¤§åŒ–ã€å¾…ã¡æ™‚é–“ã®å‰Šæ¸›ã€éšœå®³è€æ€§ã®æ§‹æˆã®ãŸã‚ã«ä¸€èˆ¬çš„ã«ç”¨ã„られる方法ã§ã™ã€‚ nginxã‚’ã¨ã¦ã‚‚効果的ãªHTTPãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚µã¨ã—ã¦ãƒˆãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚’å¹¾ã¤ã‹ã®ã‚¢ãƒ—リケーションサーãƒã«åˆ†é…ã™ã‚‹ãŸã‚ã«ä½¿ã†ã“ã¨ãŒå¯èƒ½ã§ã™ã€‚nginxを使ã£ã¦webアプリケーションã®ãƒ‘フォーマンスã€ã‚¹ã‚±ãƒ¼ãƒ©ãƒ“リティã€ä¿¡é ¼æ€§ã‚’改善ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ nginxã§ã¯ä»¥ä¸‹ã®ãƒãƒ¼ãƒ‰ãƒãƒ©ãƒ³ã‚·ãƒ³ã‚°ãƒ¡ã‚«ãƒ‹ã‚ºãƒ (ã‚ã‚‹ã„ã¯ãƒ¡ã‚½ãƒƒãƒ‰)ãŒã‚µãƒãƒ¼ãƒˆã•ã‚Œã¦ã„ã¾ã™: round-robin — アプリケーションã¸ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã¯ãƒ©ã‚¦ãƒ³ãƒ‰ãƒãƒ“ンã®å½¢å¼ã§åˆ†é…ã•ã‚Œã¾ã™, least-connected — 次ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã¯ã‚¢ã‚¯ãƒ†ã‚£ãƒ–ãªæŽ¥ç¶šã®æ•°ãŒã‚‚ã£ã¨ã‚‚å°‘ãªã„サーãƒã«å‰²ã‚Šå½“ã¦ã‚‰ã‚Œã¾ã™, ip-hash — 次ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆã«ã©ã®ã‚µãƒ¼ãƒãŒé¸æŠžã•ã‚Œã‚‹ã¹ãã‹
SPDY(スピーディ)ã¯GoogleãŒWebページã®èªã¿è¾¼ã¿ã®é«˜é€ŸåŒ–を目指ã—ã¦æå”±ã—ã¦ã„る通信プãƒãƒˆã‚³ãƒ«ã®ã²ã¨ã¤ã§ã™ã€‚ Googleã®ã¿ãªã‚‰ãšã€Twitterã€Facebookã‚„LINEã§ã‚‚採用ã•ã‚ŒãŸã“ã¨ã§è©±é¡Œã«ãªã‚Šã¾ã—ãŸã€‚ ãã®SPDYã‚’nginxã«å°Žå…¥ã™ã‚‹æ‰‹é †ã‚’紹介ã—ã¾ã™ã€‚ 導入後ã€æœ¬å½“ã«Webページã®èªã¿è¾¼ã¿ãŒæ—©ããªã‚‹ã®ã‹æ¤œè¨¼ã—ã¦ã¿ã¾ã™ã€‚ SPDYã®ãƒ‡ãƒ¢å‹•ç”» HTTPSã¨SPDYã®èªã¿è¾¼ã¿ã®é€Ÿã•ã®é•ã„ã‚’6秒ã®å‹•ç”»ã§ç´¹ä»‹ã—ã¦ã„ã¾ã™ã€‚ å‚考URL Facebook endorses Google’s SPDY networking protocol (Facebookã§SPDYを採用) Adopting SPDY in Line – Part 1: An Overview (LINEã§SPDYを採用) Twitterã€Googleæ案ã®SPDYプãƒãƒˆã‚³ãƒ«ã‚’å°Žå…¥ 試験環境 Hosting:
リリースã€éšœå®³æƒ…å ±ãªã©ã®ã‚µãƒ¼ãƒ“スã®ãŠçŸ¥ã‚‰ã›
最新ã®äººæ°—エントリーã®é…ä¿¡
処ç†ã‚’実行ä¸ã§ã™
j次ã®ãƒ–ックマーク
kå‰ã®ãƒ–ックマーク
lã‚ã¨ã§èªã‚€
eコメント一覧を開ã
oページを開ã
{{#tags}}- {{label}}
{{/tags}}