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_lee2713 days ago1014

reply all(1)I'll reply

  • 黄舟

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

    This feature is a ssi thing:

        location / {
            ssi on;
            ...
        }

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

    reply
    0
  • Cancelreply