1
0
Files
angie-conv-image/doc/examples/static-template/README.md
2025-06-05 11:01:19 +03:00

27 lines
553 B
Markdown

# static site with templates
consult [Dockerfile](Dockerfile) or [docker-compose.yml](docker-compose.yml) - both are simple and fine enough.
---
same as [simple static site](../basic/README.md).
configuration:
```nginx
server {
listen 8080;
}
```
Also note that there's no `index.html` but `index.html.j2`:
```jinja
<hmtl>
<body>
<h1>Hello World</h1>
This image is powered by Angie {% if env.NGX_PRO == '1' %}PRO{% else %}OSS{% endif %} {{ env.ANGIE_VERSION }} and Python {{ env.PYTHON_VERSION }}.
</body>
</hmtl>
```