Skip to content

Commit 8b4abf7

Browse files
chore: use newer runtimes and let nginx serve static files (#2058)
1 parent 85c81c7 commit 8b4abf7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

appengine/flexible/staticcontent/app.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ env: flex
33

44
runtime_config:
55
document_root: web
6+
operating_system: ubuntu22
7+
runtime_version: 8.3
8+
9+
build_env_variables:
10+
NGINX_SERVES_STATIC_FILES: true

compute/firewall/src/print_firewall_rule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ function print_firewall_rule(string $projectId, string $firewallRuleName)
5454
printf('Self Link: %s' . PHP_EOL, $response->getSelfLink());
5555
printf('Logging Enabled: %s' . PHP_EOL, var_export($response->getLogConfig()->getEnable(), true));
5656
print('--Allowed--' . PHP_EOL);
57-
foreach ($response->getAllowed() as $item) {
57+
foreach ($response->getAllowed()as $item) {
5858
printf('Protocol: %s' . PHP_EOL, $item->getIPProtocol());
59-
foreach ($item->getPorts()as $ports) {
59+
foreach ($item->getPorts() as $ports) {
6060
printf(' - Ports: %s' . PHP_EOL, $ports);
6161
}
6262
}

0 commit comments

Comments
 (0)