You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
TLS 1.3 は Transport Layer Security (TLS) プロトコルの最新バージョンであり、適切な IETF 標準を備えた既存の 1.2 仕様に基づいています。 RFC 8446。以前のバージョンよりも強力なセキュリティとより高いパフォーマンスの向上を提供します。 この記事では、有効な TLS 証明書を取得し、Apache でホストされているドメインで最新の TLS 1.3 バージョンのプロトコルを有効にするためのステップバイステップのガイドを示します。 Nginx Web サーバー。 要件:Apache バージョン 2.4.37 以降。Nginx バージョン 1.13.0 以降。OpenSSL バージョン 1.1.1 以降。DNS レコードが正しく構成された有効なドメイン名。有効な TLS 証明書。Let’s Encrypt から TLS 証明書をインストールする
nginxをリバースプロキシにする場合に使用するproxy_passディレクティブは、URIが与えられた場合と、そうでない場合で挙動が異なる。 どういうことかというと、以下の1.と2.は別々の結果となる。proxy_passディレクティブの引数に注目して欲しい。 # 1. specified with a URI location /name/ { proxy_pass http://127.0.0.1/; } 1.はproxy_passディレクティブに完全なURIを与えた例である。この場合http://example.com/name/fooへのアクセスは、/nameが削除されたhttp://127.0.0.1/fooへ転送される。 2.はproxy_passディレクティブに完全なURIを与えなかった例である。この場合http://example.com/name/fooへのアクセスは、
Improving web application performance is more critical than ever. The share of economic activity that’s online is growing; more than 5% of the developed world’s economy is now on the Internet (see Resources for Internet Statistics below). And our always‑on, hyper‑connected modern world means that user expectations are higher than ever. If your site does not respond instantly, or if your app does n
XXX.XXX.XXX.XXX mysite.com という A レコードを持つサイトを運用していて、http と https でのアクセスを受け付けているとします。 Nginx では下記のようなサーバブロックがあるイメージです。 server { listen 80; server_name mysite.com; return 301 https://$server_name$request_uri; #https にリダイレクト } server { listen 443 ssl; server_name mysite.com; … } そして IP 直指定で飛んでくる不審なリクエストには応答したくないので Nginx 内の公式ドキュメント Server names を参考に下記のようなサーバブロックを追加してみます。 server { listen 80 default_serve
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
The Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, machine learning and much more. Jupyter project had a long history of development, It started with the Ipython project which provides a rich set of
2016 - 11 - 07 Jupyter NotebookのリバースプロキシにH2Oを使う こんにちは。僕はナウでヤングなエンジニアなので、HTTPサーバにはH2Oを使っています。皆さんは、H2Oですか? 僕は熱血硬派なエンジニアでもあるので、普段は黒い画面でVimを使ってコードを書いていることが多いのですが、ターミナルでは表示が困難な図やグラフ等を出力したい場合はJupyter Notebookを使っています。 書籍の内容に沿ってソースコードを打ち込んでいくようなケースだと、章ごとにnotebookを作って進めていけば過去の作業ログを見つつ「どこまで進めたっけ?」ということを思い出しつつ勉強できるのも良いですね。仕事の合間を縫って作業していると、どこまで進めたか忘れがちになるので。 それでVPSに個人用のJupyter Notebookを立てているのですが、当然Basic認証なり何な
nginx と gunicorn + meinheld を組み合わせた時のメモ。 nginx はリバースプロキシとして gunicorn に飛ばし、gunicorn の worker として meinheld を使った。 環境は Fedora13。 nginx は yum でインストール。 /etc/nginx/conf.d/virtual.conf に以下を追加。 Green Unicorn - Deployment にあるのをほぼそのまま。 upstream app_server { server unix:/var/run/gunicorn/gunicorn.sock fail_timeout=0; # For a TCP configuration: #server 192.168.1.2:8000 fail_timeout=0; } server { listen 80 defa
install pip install gunicorn sudo aptitude install nginx cd /etc/nginx sudo mv nginx.conf nginx.conf.orig sudo vi nginx.conf nginx.confを以下のように ## worker=1, port=8000 user www-data; worker_processes 1; error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; events { worker_connections 1024; accept_mutex off; # multi_accept on; } http { include /etc/nginx/mime.types; default_type application/oct
NginxのWindowsへのインストール 昨日のエントリーに書いたようにNginxを入れてみました。 まずはローカル開発環境のWindowsマシンへ。 開発機の環境はWindows7(64bit)です。 1.http://nginx.org/en/download.html からWindows版をダウンロード。今回のバージョンはnginx/Windows-1.1.14。 2.適当な場所に解凍。今回はC:\project\nginx-1.1.14へ配置。これだけ。 3.Nginxを起動するにはコマンドプロンプトから以下。(Apacheが起動していると80番ポートがバッティングするので注意) C:\>cd C:\project\nginx-1.1.14 C:\project\nginx-1.1.14>start nginx4.停止するにはコマンドプロンプトから以下。 C:\project\n
Solr のフロントに Nginx を使ってみます。 外部からも select はできるけど update はできないようにして、 admin には BASIC 認証をかけます。 クリーンな環境の方が分かりやすいので、Amazon の EC2 を使います。 EC2 のインスタンスを用意 基本的な構成でインスタンスを作成します。 SSH のための 22 番ポートと、HTTP のための 80 番ポートを開放しておきます。 細かい手順はこの辺で。 Amazon EC2 を使ってみる (1月の記事) ec2-api-tools - blog.withsin.net ローカルマシンから EC2 のインスタンスには SSH で接続しますが、 このときにローカルマシンにポートを転送させます。 Solr は Jetty を使って 8983 番ポートで起動し、Nginx はデフォルトの 80 番ポートで起動
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く