static site with templates
consult Dockerfile or docker-compose.yml - both are simple and fine enough.
same as simple static site.
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 {% if env.NGX_PRO == '1' %}PRO{% else %}OSS{% endif %} {{ env.ANGIE_VERSION }} and Python {{ env.PYTHON_VERSION }}.
</body>
</hmtl>