mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
move include to server section
This replicates the behaviour of location.config and makes the letsencrypt plugin usable again for Dockerfile deployments
This commit is contained in:
@@ -26,8 +26,8 @@ server {
|
||||
proxy_set_header X-Forwarded-Port $server_port;
|
||||
proxy_set_header X-Request-Start $msec;
|
||||
}
|
||||
include {{ $.DOKKU_ROOT }}/{{ $.APP }}/nginx.conf.d/*.conf;
|
||||
}
|
||||
include {{ $.DOKKU_ROOT }}/{{ $.APP }}/nginx.conf.d/*.conf;
|
||||
{{ if $.DOKKU_APP_LISTENERS }}
|
||||
upstream {{ $.APP }}-{{ $port }} {
|
||||
{{ range $.DOKKU_APP_LISTENERS | split " " }} server {{ . }}:{{ $port }};{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user