mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
This change makes interacting with port mappings more clear - folks might previously set the port mapping to the proxy type or vice-versa. The existing proxy:ports* commands still exist but will show a deprecation warning for a single minor release.
10 lines
188 B
Go
10 lines
188 B
Go
package proxy
|
|
|
|
import (
|
|
"github.com/dokku/dokku/plugins/config"
|
|
)
|
|
|
|
func getAppProxyType(appName string) string {
|
|
return config.GetWithDefault(appName, "DOKKU_APP_PROXY_TYPE", "nginx")
|
|
}
|