Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app.go
AgeCommit message (Collapse)Author
2019-08-22Refactor to use pluggable http.Handler middlewaresan-use-middleware-handlersAndrew Newdigate
2019-08-21Fix https downgrade for pages behind proxyVladimir Shushlin
We can't rely on r.TLS when pages are served behind proxy So we save https flag to a context for later usage Right now I'm trying to keep changes to a minimum since I'm planning to backport this to older versions That's why https flag is not refactored throughout the codebase The alternative way would be to use gorilla's proxy headers I'm planning to refactor to that version later
2019-08-08Use simplified Prometheus handler func.Ben Kochie
2019-07-12feat: add flag to define custom response headersMax Wittig
2019-07-10Revert "chore: vendor complete dependency tree"Max Wittig
This reverts commit 27bd4d83cade6a721330e8583874e7c715bf3a26.
2019-06-03Redirect unknown ACME challenges to the GitLab instanceVladimir Shushlin
2019-05-28Add config flags to specify TLS versionsKrasimir Angelov
Introduce two new configuration options -tls-min-version and -tls-max-version to control which TLS versions will be supported by the server. Accepted values are ssl3, tls1.0, tls1.1, tls1.2, and tls1.3. Closing https://gitlab.com/gitlab-org/gitlab-pages/issues/187
2019-05-16Disable 3DES and other insecure cipher suitesKrasimir Angelov
Supported cipher suites: tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 Closes https://gitlab.com/gitlab-org/gitlab-pages/issues/150.
2019-04-02Prepare pages auth logs for production rolloutVladimir Shushlin
Mostly escalate log levels Add new logs and fields to existing logs
2018-10-26Allow the maximum connection concurrency to be specifiedNick Thomas
2018-10-02Fix comparing the domain and log request information as well. Removed ↵Tuomo Ala-Vannesluoma
invalid comment and fixed one else case.
2018-09-30Fix returning and calling functionTuomo Ala-Vannesluoma
2018-09-22Add special handling for namespace projects to avoid existence leakTuomo Ala-Vannesluoma
2018-09-10Fix handling the projects with not updated configurationTuomo Ala-Vannesluoma
2018-08-18Add missing return callTuomo Ala-Vannesluoma
2018-08-10Allow auth proxying only for configured domains and everything under pages ↵Tuomo Ala-Vannesluoma
domain
2018-07-02Add debug loggingTuomo Ala-Vannesluoma
2018-06-30Combine private boolean with the access_control flagTuomo Ala-Vannesluoma
2018-06-30Fix not exposing project existence when group is found but project is notTuomo Ala-Vannesluoma
2018-06-30Refactor logic to avoid existence leakTuomo Ala-Vannesluoma
2018-06-30Add support for private projects and authentication with GitLab APITuomo Ala-Vannesluoma
2018-06-22Merge branch 'feature/add-support-for-reverse-proxy' into 'master'Alessio Caiazza
Add support for reverse proxy See merge request gitlab-org/gitlab-pages!99
2018-06-20Add support for reverse proxyDennis Günnewig
2018-06-04Switch to a GitLab fork of go-mimedbNick Thomas
2018-04-23Add gRPC admin health checkJacob Vosmaer (GitLab)
2018-03-29Put domain code in a separate packageJacob Vosmaer (GitLab)
2018-03-22Rename 'domains' type to 'domainMap'Jacob Vosmaer
2018-03-13Add more logging to gitlab pages daemonmaxmeyer
2018-03-07Merge branch 'https_only' into 'master'Nick Thomas
HTTPS-only pages See merge request gitlab-org/gitlab-pages!50
2018-03-07Structured loggingJacob Vosmaer (GitLab)
2018-03-07Use https://github.com/jshttp/mime-db to populate the mimedbNick Thomas
2018-03-06Implement HTTPS-only pagesRob Watson
- Check `config.json` for `httpsonly` attribute - Store value against custom domain or group/project pair - Respond with 301 redirect to HTTP requests to these domains/projects Re: https://gitlab.com/gitlab-org/gitlab-ce/issues/28857
2017-11-23Return 503 until pages are loaded for the first timeKamil Trzciński
2017-09-08Add an artifacts proxy to GitLab PagesJ. Shuster
2017-07-05Add disabled-by-default status check endpointNick Thomas
2017-06-15Add CORS support to GET requestsNick Thomas
2017-05-10Closes #51: Removed port from domain lookupsVlad Frolov
2017-03-13Fix and clarify redirect HTTP logicStan Hu
redirect-http seemed to suggest the Pages daemon would redirect from HTTPS to HTTP, but it seems that the opposite was implied. Fixes issue manifested by https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1348
2017-02-07Improve complexity metricsZ.J. van de Weg
Also fixed the dependencies, moved metrics to its own package and updated the tests
2017-02-02Prometheus monitoring for GitLab PagesZ.J. van de Weg
This starts of the prometheus monitoring for GitLab Pages, and resolves gitlab-org/gitlab-pages#42 Point to check: - Are the metric names good, keeping Prometheus' conventions in mind? - Golang, general style etc - Shouldn't I do some voodoo magic to import this in the library?
2016-09-09Allow -listen-http, -listen-https and -listen-proxy to be given more than onceNick Thomas
Per issue #13, sometimes you want to listen on more than one port for each type of listener. This commit adds support for that.
2016-04-05Fix: Content-Type of predefined 404 pagev0.2.2Kamil Trzcinski
2016-02-16Fix small bugsKamil Trzcinski
2016-02-16Execute unprivileged daemon in chrootKamil Trzcinski
2016-02-16Execute in chrootKamil Trzcinski
2016-02-12Allow to daemonize the appKamil Trzcinski
2016-02-11Move most of configuration to appConfigKamil Trzcinski
2016-02-11Move most of configuration to appConfigKamil Trzcinski
2016-02-11Move most of configuration to appConfigKamil Trzcinski
2016-02-11Split main.go to app.goKamil Trzcinski