1
0
angie-conv-image/doc/examples/static-template
2024-11-18 11:30:16 +03:00
..
site doc: examples 2024-09-20 01:27:15 +03:00
static doc: examples 2024-09-20 01:27:15 +03:00
docker-compose.yml bump version to 0.0.7 2024-11-18 11:30:16 +03:00
Dockerfile bump version to 0.0.7 2024-11-18 11:30:16 +03:00
README.md doc: update examples 2024-11-08 14:19:36 +03:00

static site with templates

consult Dockerfile or docker-compose.yml - both are simple and fine enough.


mostly same as simple static site except environment variable NGX_PROCESS_STATIC=1.

configuration:

server {
    listen 8080;
}

Also note that there's no index.html but index.html.j2:

<hmtl>
    <body>
        <h1>Hello World</h1>
        This image is powered by Angie {{ env.ANGIE_VERSION }} and Python {{ env.PYTHON_VERSION }}.
    </body>
</hmtl>