Commit 4c0f11d4 authored by Morbi's avatar Morbi

correct tmpl location

parent c8b62455
Pipeline #556 failed with stage
in 32 seconds
......@@ -5,6 +5,7 @@
* alpine based
* logs to stdout and stderr
* templating with [dockerize](https://github.com/jwilder/dockerize)
* entrypoint reads `/etc/nginx/conf.d/default.tmpl`
* gzip enabled
## usage
......@@ -12,6 +13,6 @@
```Dockerfile
FROM registry.gitlab.techcultivation.org/morbidick/dockerize-nginx
ADD vhost.template.conf /etc/nginx/conf.d/default.template.conf
ADD vhost.template.conf /etc/nginx/conf.d/default.tmpl
COPY app /app
```
......@@ -3,6 +3,6 @@ server {
location / {
default_type text/html;
return 200 '<head><title>default site</title></head><body><h1>no config provided</h1></body>';
return 200 '<head><title>default site</title></head><body><h1>no config provided on host {{ .Env.HOSTNAME }}</h1></body>';
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment