Allow koa behind proxy
This commit is contained in:
@@ -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'),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user