Port -> app_port
This commit is contained in:
@@ -56,11 +56,11 @@ proxy:
|
||||
# requests for other apps that do have a host set.
|
||||
host: foo.example.com
|
||||
|
||||
# Port
|
||||
# App port
|
||||
#
|
||||
# The port the application is exposed on
|
||||
# The port the application container is exposed on
|
||||
# Defaults to 80
|
||||
port: 3000
|
||||
app_port: 3000
|
||||
|
||||
# SSL
|
||||
#
|
||||
|
||||
@@ -25,8 +25,8 @@ class Kamal::Configuration::Proxy
|
||||
end
|
||||
end
|
||||
|
||||
def port
|
||||
proxy_config.fetch("port", 80)
|
||||
def app_port
|
||||
proxy_config.fetch("app_port", 80)
|
||||
end
|
||||
|
||||
def image
|
||||
|
||||
Reference in New Issue
Block a user