docker-compose: added traefik
This commit is contained in:
@@ -38,6 +38,7 @@ const authConfig: NextAuthConfig = {
|
||||
}),
|
||||
],
|
||||
secret: process.env.AUTH_SECRET,
|
||||
trustHost: true, // needs to be set to false for the NextJS to work behing Traefik
|
||||
session: {
|
||||
// Use JSON Web Tokens for session instead of database sessions.
|
||||
// This option can be used with or without a database for users/accounts.
|
||||
|
||||
Reference in New Issue
Block a user