Subscribed unsubscribe Subscribe Subscribe

oinume journal

Scratchpad of what I learned

First loaded configuration becomes default_server in nginx

How nginx processes a request server { listen 80; server_name example.org www.example.org; ... } server { listen 80; server_name example.net www.example.net; ... } server { listen 80; server_name example.com www.example.com; ... } In this …

Nginxのserver_nameに正規表現で量指定子を使うとエラー

Nginxのserver_nameに正規表現の量指定子({})を使う場合は、ダブルクォートで括らないとエラーが出る。