1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-08 15:05:28 +02:00

Improve reverse proxy support

Should address edge cases and close #224 -- subject to field testing.

Does require the NGINX deployments use the following:

proxy_pass <http://documize-url:5001>;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
This commit is contained in:
sauls8t 2019-04-11 14:45:36 +01:00
parent 9e3eac19aa
commit 1da49974cb
20 changed files with 2108 additions and 731 deletions

9
Gopkg.lock generated
View file

@ -124,6 +124,14 @@
revision = "1ea25387ff6f684839d82767c1733ff4d4d15d0a"
version = "v1.1"
[[projects]]
digest = "1:664d37ea261f0fc73dd17f4a1f5f46d01fbb0b0d75f6375af064824424109b7d"
name = "github.com/gorilla/handlers"
packages = ["."]
pruneopts = "UT"
revision = "7e0847f9db758cdebd26c149d0ae9d5d0b9c98ce"
version = "v1.4.0"
[[projects]]
digest = "1:88aa9e326e2bd6045a46e00a922954b3e1a9ac5787109f49ac85366df370e1e5"
name = "github.com/gorilla/mux"
@ -304,6 +312,7 @@
"github.com/elazarl/go-bindata-assetfs",
"github.com/go-sql-driver/mysql",
"github.com/google/go-github/github",
"github.com/gorilla/handlers",
"github.com/gorilla/mux",
"github.com/jmoiron/sqlx",
"github.com/lib/pq",