mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(ui): Move PROXY setting to UI (#782)
Users who have set PROXY=yes in their Docker containers will need to configure this setting in the UI and restart the container.
This commit is contained in:
@@ -61,7 +61,7 @@ app
|
||||
startJobs();
|
||||
|
||||
const server = express();
|
||||
if (process.env.PROXY === 'yes') {
|
||||
if (settings.main.trustProxy) {
|
||||
server.enable('trust proxy');
|
||||
}
|
||||
server.use(cookieParser());
|
||||
|
Reference in New Issue
Block a user