mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 11:56:31 +00:00
592ed499d7
Should address #6. The port selection now works as follows: * If there is only 1 port exposed by the container, that port is used. * If there is a VIRTUAL_PORT env variable defined, that port is used. * Otherwise, default to port 80, if exposed.
12 lines
235 B
Plaintext
12 lines
235 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
|
|
[program:nginx]
|
|
command=nginx
|
|
directory=/etc/nginx
|
|
|
|
[program:docker-gen]
|
|
command=./docker-gen -watch -only-exposed -notify "nginx -s reload" /app/nginx.tmpl /etc/nginx/sites-enabled/default
|
|
directory=/app
|
|
|