search

Home  >  Q&A  >  body text

Front-end - How to configure nginx to support include in html files under 127.0.0.1:82

During the development process, access html static files under 127.0.0.1:82. How to configure include that supports html in nginx

ringa_leeringa_lee2870 days ago1159

reply all(1)I'll reply

  • 黄舟

    黄舟2017-05-16 17:18:06

    This feature is a ssi thing:

    1

    2

    3

    4

    <code class="nginx">    location / {

            ssi on;

            ...

        }</code>

    http://nginx.org/en/docs/http/ngx_http_ssi_module.html

    reply
    0
  • Cancelreply