title: How to install a module on nginx?
body: <p>When running nginx -t I get this error:</p>
  
  <pre><code>nginx: [emerg] unknown directive "subs_filter_types" in /etc/nginx/sites-enabled/my.site.com.conf:285
  nginx: configuration file /etc/nginx/nginx.conf test failed
  </code></pre>
  
  <p>So I need to install the substitution filter module and in the nginx documentation <a href="https://www.nginx.com/resources/wiki/modules/substitutions/#subs-filter-types" rel="nofollow noreferrer">https://www.nginx.com/resources/wiki/modules/substitutions/#subs-filter-types</a>
  Which says to run these commands:</p>
  
  <pre><code>git clone git://github.com/yaoweibin/ngx_http_substitutions_filter_module.git
  ./configure --add-module=/path/to/module
  </code></pre>
  
  <p>The problem is I don't have the configure script anywhere in my nginx installation nor in the 
  git repository. I really don't understand.
  At the very least I want to know the content of that nginx configure script.</p>