タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

nginxに関するkkotyyのブックマーク (3)

  • ELBなどでhealth checkをする際に使える便利なempty_gif(Nginx) - Qiita

    いつ使うの? EC2でELB(“Elastic Load Balancing”:ロードバランサー)を利用すると、HealthCheck(ヘルスチェック)が求められ何かしらのファイルが必要になります。そんな時に便利な「empty_gif」というnginxの標準モジュールが持つ便利機能があります。 nginx(HttpEmptyGifModuleJa) empty_gifとは? nginxの標準モジュールが持つ機能で、nginxがメモリに保持している1x1ピクセルの透過 GIF ファイルをクライアントに返すことができます。 書き方

    ELBなどでhealth checkをする際に使える便利なempty_gif(Nginx) - Qiita
    kkotyy
    kkotyy 2021/08/02
    知らんかった。。。
  • Concurrency comparison between NGINX-unit and uWSGI (python3)

    Click here to share this article on LinkedIn » This article will show performance of two web application servers nginx-unit (a new modern application web server) and uWSGI (the best one application server) nginx-unit — the new application server powered by nginx company. It still in beta not for production use. uWSGI — one of the best application server for python what I know. It is a old project

    Concurrency comparison between NGINX-unit and uWSGI (python3)
    kkotyy
    kkotyy 2018/08/20
    this article show that nginx-unit-python has a better performance than uwsgi(maybe also gunicorn). but nginx-unit-go has a further more performance...
  • コンテンツキャッシュとVaryヘッダとnginx - Qiita

    Varyヘッダは前段のキャッシュサーバに対して、指定したヘッダの内容ごとにキャッシュを分ける必要があることを伝えるためのものです。例えばサーバがVary: Accept-Encodingをレスポンスヘッダに付加しておくと、キャッシュサーバはAccept-Encodingヘッダの内容に応じたキャッシュを保持します。 こうすることでクライアントのAccept-Encodingヘッダの内容に応じたキャッシュデータをキャッシュサーバは返すことができるというわけです。 nginxにおけるgzip圧縮とVaryヘッダ さて、題です。上記のような事情からかApacheのmod_deflateやh2oなんかはコンテンツのgzip圧縮を有効にすると、自動的にVary: Accept-Encodingをレスポンスヘッダに付加します。一方我らがnginxは設定ファイルにgzip_vary on;と書かないとV

    コンテンツキャッシュとVaryヘッダとnginx - Qiita
    kkotyy
    kkotyy 2017/01/06
    “例えばCloudfrontなんかを通るとこのヘッダが付いてきます。そしてnginxは受け取ったリクエストにViaヘッダが含まれていると設定ファイルにgzip on;と書いてもレスポンスをgzip圧縮しません。”
  • 1