Allow koa behind proxy

This commit is contained in:
Sebastian Seedorf
2022-01-30 19:23:42 +01:00
parent e8fbb906a8
commit 570a44b676

View File

@@ -2,6 +2,7 @@ module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'), host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 3000), port: env.int('PORT', 3000),
url: env('URL', '') + '/api', url: env('URL', '') + '/api',
proxy: true,
app: { app: {
keys: env.array('APP_KEYS'), keys: env.array('APP_KEYS'),
}, },