2017-06-16から1日間の記事一覧
nginxには定義した特定のcontent-typeの時にレスポンスの中の文字列を書き換えるsub_filterという機能があります。 こちらですね。Module ngx_http_sub_module できることは文字列の書き換えで、 sub_filter 'example.com' 'www.example.com'; と定義すると…
nginxには定義した特定のcontent-typeの時にレスポンスの中の文字列を書き換えるsub_filterという機能があります。 こちらですね。Module ngx_http_sub_module できることは文字列の書き換えで、 sub_filter 'example.com' 'www.example.com'; と定義すると…