Merge pull request #8493 from dokku/6760-build-empty-nginx-config-when-there-are-no-web-processes

Generate 502 config for apps without web listeners
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2026-04-26 04:08:17 -04:00
commit 1158db380a
10 files changed
+233 -48

No files matched your search

+1 -1
View File
@@ -162,7 +162,7 @@ teardown() {
assert_success
assert_output "http://$TEST_APP.$DOKKU_DOMAIN"
assert_http_localhost_response "http" "$TEST_APP.$DOKKU_DOMAIN" "80" "/hello"
assert_http_localhost_response "http" "great-test-name.dokku.me" "80" "/hello" "" "404"
assert_http_localhost_response "http" "great-test-name.dokku.me" "80" "/hello" "" "502"
run /bin/bash -c "dokku --force apps:destroy great-test-name"
echo "output: $output"
echo "status: $status"