Skip to content
This repository was archived by the owner on Jul 7, 2026. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
343268e
Issue #31 (Summarize Min and Max on Dates)
Sep 21, 2019
c954307
Merge branch 'master' into develop
Oct 13, 2019
4256909
Removed unused libraries
Oct 13, 2019
d6b6e7e
Fixed issue #80
Oct 13, 2019
c9a78c9
Fixed for issue #89
Nov 1, 2019
55c5054
Fixed issue with paging when a chart is shown
Nov 2, 2019
36104be
removed unnecessary space
Nov 5, 2019
fbe136d
Merge branch 'master' into develop
Nov 23, 2019
9905d4e
Upgrading to dotnet3.1 (issue #94)
Feb 16, 2020
22650d4
Updating CircleCI for dotnet 3.1
Feb 16, 2020
10be928
Updating to dotnet 3.1
Feb 16, 2020
11d0bb1
Initial implementation for issue #98 - a filter for "last N days"
Apr 8, 2020
4da8659
Update TeamController.cs
mateoayat Apr 14, 2020
a9cb356
Fixing issue #99 (thanks to @mateoayat)
Apr 28, 2020
2a01bac
Updating packages (related to issue #101)
Apr 28, 2020
b1fda96
Merge branch 'develop' into develop
Apr 28, 2020
c63e66f
Merge pull request #100 from mateoayat/develop
Apr 28, 2020
91a96d4
feat: reverse proxy support
PandelisZ Feb 5, 2021
fe8534a
Merge pull request #120 from d4software/reverse-proxy
Mar 10, 2021
253cfbb
Closes issue #118
Mar 10, 2021
49d0c5b
Merge branch 'develop' of github.com:d4software/QueryTree into develop
Mar 10, 2021
1b3892b
Merge branch 'master' of github.com:d4software/QueryTree into develop
Nov 21, 2022
b8efbe4
Updating for .net 6
Nov 21, 2022
8f38800
Styling updates and minor bug fixes
Nov 21, 2022
623155d
Fixing indentation
Nov 21, 2022
9436ab1
Adding logging to database query exceptions,
Nov 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: reverse proxy support
closes: #119
  • Loading branch information
PandelisZ committed Feb 5, 2021
commit 91a96d435768fd20e55f6b9b40d20ae8aa03b10f
9 changes: 7 additions & 2 deletions Web/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Hangfire;
using Hangfire.SQLite;
using Microsoft.AspNetCore.Builder;
Expand All @@ -15,6 +13,7 @@
using QueryTree.Managers;
using QueryTree.Services;
using Microsoft.Extensions.Hosting;
using Microsoft.AspNetCore.HttpOverrides;

namespace QueryTree
{
Expand Down Expand Up @@ -105,6 +104,12 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerF
app.UseExceptionHandler("/Home/Error");
}

// Enable use behind a reverse proxy
app.UseForwardedHeaders(new ForwardedHeadersOptions
{
ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
});

app.UseStaticFiles();

app.UseAuthentication();
Expand Down