タグ

nginxに関するhalfrackのブックマーク (16)

  • NGINX強制捜査めぐる非難受け、Ramblerが刑事告訴を撤回へ

    印刷する メールで送る テキスト HTML 電子書籍 PDF ダウンロード テキスト 電子書籍 PDF クリップした記事をMyページから読むことができます Ramblerは、オープンソースコミュニティやロシア国内の技術コミュニティからの激しい反発を受けて、世界的に利用されているウェブサーバーの開発元であるNGINX, Incに対する刑事告訴を撤回することになったという。 同社は今後、民事訴訟でNGINXのソースコードの所有権を追求する考えだとRamblerの広報担当者は米ZDNetに述べた。 この決定は、現地時間12月16日午前に開催されたRamblerの取締役会で下された。この取締役会は、ロシア最大の銀行の1つであり、Ramblerの筆頭株主(持ち株比率46.5%)でもあるSberbankの求めで開かれたものだ。 Sberbankが招集した取締役会に先立つ週末には、ロシア技術コミュニテ

    NGINX強制捜査めぐる非難受け、Ramblerが刑事告訴を撤回へ
    halfrack
    halfrack 2019/12/19
    このままだと Rambler のエンジニア辞めまくったりしそうと思ってたがアッという間に撤回されたか
  • NGINX、モスクワオフィスへの強制捜査の状況を説明。創業者Igor Sysoev氏への尋問はあったものの、現時点で逮捕者や拘束者はなしと

    NGINX、モスクワオフィスへの強制捜査の状況を説明。創業者Igor Sysoev氏への尋問はあったものの、現時点で逮捕者や拘束者はなしと オープンソースとして開発されている軽量なWebサーバ「NGINX」などの知的所有権をめぐって、NGINXのモスクワオフィスに当局者による強制捜査が12月12日に入ったことが米ZDNetなどで報道されていました。 12月15日、NGINXゼネラルマネージャGus Robertsonの名前で、この状況について説明するメールが届きました。おそらく主要な関係者、顧客、ジャーナリストなどに送付しているものと思われます。 NGINXは、カザフスタン生まれのIgor Sysoev氏が、当時Webサーバとして主流だったApacheよりも優れたWebサーバを目指して2002年にロシアで開発を開始したソフトウェアです。 参考:日Nginxユーザ会が発足。開発者Igor

    NGINX、モスクワオフィスへの強制捜査の状況を説明。創業者Igor Sysoev氏への尋問はあったものの、現時点で逮捕者や拘束者はなしと
  • Socket Sharding in NGINX Release 1.9.1

    Analytics cookies are off for visitors from the UK or EEA unless they click Accept or submit a form on nginx.com. They’re on by default for everybody else. Follow the instructions here to deactivate analytics cookies. This deactivation will work even if you later click Accept or submit a form. Check this box so we and our advertising and social media partners can use cookies on nginx.com to better

    Socket Sharding in NGINX Release 1.9.1
    halfrack
    halfrack 2018/06/20
    nginx の場合(ローリングアップデートではなく)ロック競合の回避によるパフォーマンス改善のために SO_REUSEPORT を使う
  • How to rate-limit in nginx, but including/excluding certain IP addresses?

    I'm able to use limit_req to rate-limit all requests to my server. However I'd like to remove the rate restriction for certain IP addresses (i.e. whitelist) and use a different rate restriction for certain others (i.e. certain IPs I'd like as low as 1r/s). I tried using conditionals (e.g. if ( $remote_addr = "1.2.3.4" ) {}) but that seems to work only with rewrite rules, not for rate-limit rules.

    How to rate-limit in nginx, but including/excluding certain IP addresses?
    halfrack
    halfrack 2017/04/20
    limit_req_zone の key に map variable を使うと柔軟に制御出来る。 geo と map をネストする理由が無念。
  • nginxのifに要注意 | TECHSCORE BLOG | TECHSCORE BLOG

    こんにちは。寺岡です。 最近WEBサーバにnginxを利用することが多いのですが、 その時にハマったポイントをご紹介します。 nginx には ifディレクティブがあり、条件によって設定や変数を切り替えることができます。 このifディレクティブはかなりの曲者で、一般的な感覚とは異なる挙動をします。 皆さんは、以下の設定でどんなヘッダが出力されると思いますか? location /only-one-if { set $true 1; if ($true) { add_header X-First 1; } if ($true) { add_header X-Second 2; } return 204; }

    halfrack
    halfrack 2017/04/20
    "よほどの理由がない限りlocation内のifディレクティブは禁止したほうが良いでしょう。" シビア / "content halder"
  • If is Evil… when used in location context | NGINX

    Analytics cookies are off for visitors from the UK or EEA unless they click Accept or submit a form on nginx.com. They’re on by default for everybody else. Follow the instructions here to deactivate analytics cookies. This deactivation will work even if you later click Accept or submit a form. Check this box so we and our advertising and social media partners can use cookies on nginx.com to better

    halfrack
    halfrack 2017/04/20
    "nginx will SIGSEGV" ウケる…
  • Launching nginScript and Looking Ahead - NGINX

    Analytics cookies are off for visitors from the UK or EEA unless they click Accept or submit a form on nginx.com. They’re on by default for everybody else. Follow the instructions here to deactivate analytics cookies. This deactivation will work even if you later click Accept or submit a form. Check this box so we and our advertising and social media partners can use cookies on nginx.com to better

    Launching nginScript and Looking Ahead - NGINX
    halfrack
    halfrack 2015/09/24
    面白機能
  • How to monitor NGINX

    What is NGINX?NGINX (pronounced “engine X”) is a popular HTTP server and reverse proxy server. As an HTTP server, NGINX serves static content very efficiently and reliably, using relatively little memory. As a reverse proxy, it can be used as a single, controlled point of access for multiple back-end servers or for additional applications such as caching and load balancing. NGINX is available as a

    How to monitor NGINX
    halfrack
    halfrack 2015/09/24
    状態遷移図が良い
  • Nginx mogilefs module (v 1.0.4)

    MogileFS client for nginx web server. Description The module queries MogileFS tracker specified by mogilefs_tracker directive and uses first path returned by tracker to fetch requested file. The file key is specified by mogilefs_pass directive. If no domain or no file with specified key is found by tracker "404 Not found" status is retuned. If file is found but zero paths are returned by tracker "

  • XSendfile | NGINX

    Analytics cookies are off for visitors from the UK or EEA unless they click Accept or submit a form on nginx.com. They’re on by default for everybody else. Follow the instructions here to deactivate analytics cookies. This deactivation will work even if you later click Accept or submit a form. Check this box so we and our advertising and social media partners can use cookies on nginx.com to better

  • nginxでX-Accel-Redirectを使う場合に余計なヘッダを削除する - 酒日記 はてな支店

    アプリケーションで認証後 S3 のコンテンツを返したかったのだけど、nginx で BASIC 認証を掛けていたらうまくいかなかった、というお話。 Amazon S3 の認証トークン付き URL をアプリケーションで生成し X-Accel-Redirect ヘッダに出力 nginx が S3 から取得してきてクライアントに返す という動作をさせたくて、以下のように設定。 # nginx.conf location = /reproxy { internal; set $reproxy $upstream_http_x_reproxy_url; proxy_pass $reproxy; proxy_hide_header Content-Type; }アプリケーションからは以下のようなレスポンスヘッダを出力。 X-Accel-Redirect: /reproxy X-Reproxy-URL:

    nginxでX-Accel-Redirectを使う場合に余計なヘッダを削除する - 酒日記 はてな支店
  • nginxで認証用proxyサーバを作成

    今回作るシステムは、静的コンテンツを配信するサーバがすでにあり、 ・認証機構(ログイン画面)を追加 ・変更を最小限に抑えて開発 ・スケールアウトしやすい ・アクセス数が多いので、できるだけ処理を軽くする ことを目的とします。 この手のシステムは、既存システムに手を入れるのが普通ですが、既存システムでプログラムが動かないことには話になりません。 という事で、認証機構を追加したプロキシサーバを作成することで実現したいと思います。 仮に、PHPのみを使用して実装する場合は、下記のように出来ます。 ・ログイン画面はPHP ・rewriteでログイン画面系以外の全てのアクセスをindex.phpに向ける ・認証に失敗したらログイン画面にリダイレクト ・認証成功したら認証状態をセッションに記録(有効期限も記録) ・セッションはmemcacheなどで全サーバ共有 ・セッションの値が有効なときはコンテンツ

    nginxで認証用proxyサーバを作成
  • キャッシュエンジンの比較(1/3) | IIJの技術 | インターネットイニシアティブ(IIJ)

    大規模なサイトでは、クライアントからのアクセスを効率よく受け付けるためにオリジナルのコンテンツを保持するオリジンサーバのほかに、何らかのリバースプロキシも運用してコンテンツの配信をしています。まず、ここではリバースプロキシとして利用できるプロダクトの中からコンテンツキャッシュの機能(キャッシュサーバ)について説明します。 キャッシュサーバに期待される役割 コンテンツを配信する上で、キャッシュサーバには以下のような役割が期待されています。 コンテンツをキャッシュデータとして保持すること キャッシュデータを管理すること オリジンサーバへの問い合わせを減らすといった負荷分散をすること 大抵のキャッシュサーバでは、キャッシュしているコンテンツを有効期限(Time To Live : TTL)付きのキャッシュオブジェクトとして保持していますが、TTLを無視してキャッシュオブジェクトの更新をしたい、と

    キャッシュエンジンの比較(1/3) | IIJの技術 | インターネットイニシアティブ(IIJ)
    halfrack
    halfrack 2012/06/12
    まだ前編で結果書いてないけど期待。 squid が入ってないのに時代を感じる。
  • Microsoft Word - Open Connect Deployment Guide - v2.4a.docx

    halfrack
    halfrack 2012/06/07
    Netflix の 10G NIC な CDN 箱は FreeBSD/nginx で 8Gbps 吐き出すらしい
  • nginx連載5回目: nginxの設定、その3 - locationディレクティブ

    locationディレクティブはパスの条件が評価されて選ばれたものが適応されます。この条件はパスの文字列の前方一致あるいは正規表現による評価です。この評価の順番は以下のようになります。 前方一致("=", "^~", プレフィックスなし)の条件の評価を実施 最も一致する条件を選ぶ。 選ばれた条件が、完全一致で、プレフィックスが"="であれば、そこで評価を終了し、そのlocationディレクティブを適応する。 選ばれた条件のプレフィックスが"^~"であれば、そこで評価を終了して、そのlocationディレクティブを適応する。 正規表現("~", "~*")の条件の評価を実施 正規表現の条件を設定ファイルに定義した順番に評価する。一致したら、そこで評価を終了して、そのlocationディレクティブを適応する。 前方一致の評価で選ばれた条件のlocationディレクティブを適応する。 ここで注意

    nginx連載5回目: nginxの設定、その3 - locationディレクティブ
    halfrack
    halfrack 2012/04/24
    最近 location の優先順位でハマりました
  • 'CVS: cvs.openbsd.org: src' - MARC

    [prev in list] [next in list] [prev in thread] [next in thread] List: openbsd-cvs Subject: CVS: cvs.openbsd.org: src From: Robert Nagy <robert () cvs ! openbsd ! org> Date: 2011-09-22 23:32:26 Message-ID: 201109222332.p8MNWQqE014096 () cvs ! openbsd ! org [Download RAW message or body] CVSROOT: /cvs Module name: src Changes by: robert@cvs.openbsd.org 2011/09/22 17:32:26 Log message: import of ngin

    halfrack
    halfrack 2012/02/20
    OpenBSD の base に nginx が入ったぞ。 apache の置き換えを狙ってるらしい。
  • 1