NGINX Proxy: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 282: Line 282:
*For each app you want to use Let's Encrypt SSL on, update '''/srv/nginx-proxy/docker-compose.override.yml''':
*For each app you want to use Let's Encrypt SSL on, update '''/srv/nginx-proxy/docker-compose.override.yml''':
<syntaxhighlight lang="yaml">
<syntaxhighlight lang="yaml">
usasapp:
proxyapp:
   environments:
   environments:
     - VIRTUAL_HOST=usas.sampletown.org
     - VIRTUAL_HOST=demo.example.com
     - VIRTUAL_PORT=8080
     - VIRTUAL_PORT=8080
     - LETSENCRYPT_HOST=usas.sampletown.org
     - LETSENCRYPT_HOST=demo.example.com
     - LETSENCRYPT_EMAIL=hostmaster@example.com
     - LETSENCRYPT_EMAIL=hostmaster@example.com
</syntaxhighlight>
</syntaxhighlight>

Navigation menu