1.4 KiB
0.38.0 Migration Guide
Changes
-
Dokku now generates a minimal nginx configuration for apps without running
webprocesses (undeployed apps, apps with nowebprocess type, or apps with stopped web processes). This configuration returns502 Bad Gatewayresponses, ensuring the app's domain resolves and monitoring tools can detect non-200 status codes. The configuration is automatically replaced with the full proxy configuration once the app is deployed with runningwebprocesses. See the nginx documentation for more details. -
Users with custom
nginx.conf.sigiltemplates that referenceDOKKU_APP_WEB_LISTENERSshould be aware that this variable may now be empty when the template is rendered for apps without running web processes. Custom templates should handle this case gracefully, for example by using a conditional to serve an error page instead of proxying:location / { {{ if $.DOKKU_APP_WEB_LISTENERS }} proxy_pass http://{{ $.APP }}-{{ $upstream_port }}; {{ else }} return 502; {{ end }} } -
The path on disk to both the global
ENVfile and appENVfiles have been moved. Users should reference environment variables via the provided plugin triggers rather than directly sourcing the ENV files. Existing ENV files are left untouched and will be removed on the subsequent Dokku install.