ContEco Nginx image configure to URL rewrite a single service.
4.5K
nginx.rewrite - ContEcoNginx Rewrite implements a generic URL rewrite template using environment variables.
See conteco.docs.overview for more information on the ContEco ecosystem.
The base image has the following configuration changes:
The environment variables are set in the service environment file. It consists of the absolute URL of the service and network internal service name.
location ${CONTECO_NGINX_CONF_LOCATION}/ {
proxy_pass http://${CONTECO_NGINX_CONF_PROXY_PASS}/;
rewrite ^${CONTECO_NGINX_CONF_LOCATION}/(.*) /$1 break;
}
Content type
Image
Digest
Size
71.5 MB
Last updated
over 6 years ago
docker pull vcwebio/conteco.nginx.rewrite