We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb4fa9 commit c89fde7Copy full SHA for c89fde7
1 file changed
run/filesystem/index.js
@@ -37,6 +37,9 @@ const limit = rateLimit({
37
app.use(limit);
38
app.use(mntDir, express.static(mntDir));
39
40
+// configure express to know about Cloud Run's proxy
41
+app.set('trust proxy', 1);
42
+
43
app.listen(port, () => {
44
console.log(`Listening on port ${port}`);
45
});
0 commit comments