authelia/internal/middlewares
James Elliott fcd0b5e46a
[FEATURE] Allow Authelia to listen on a specified path (#1027)
* [FEATURE] Allow Authelia to listen on a specified path

* Fix linting and add a couple typescript types

* Template index.html to support base_url

* Update docs and configuration template

* Access base path from body attribute.

* Update CSP

* Fix unit test
Also remove check for body as this will never get triggered, react itself is loaded inside the body so this has to always be successful.

* Template index.html with ${PUBLIC_URL}

* Define PUBLIC_URL in .env(s)

* Add docs clarification

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
Co-authored-by: Clement Michaud <clement.michaud34@gmail.com>
2020-05-21 12:20:55 +10:00
..
authelia_context.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
authelia_context_test.go [MISC] Fix goimports ordering for repo (#947) 2020-05-01 16:56:42 +10:00
const.go [CI] Add goconst linter (#961) 2020-05-02 18:20:40 +02:00
errors.go [MISC] Fail with an error message when X-Forwarded-* headers are missing (#631) 2020-02-13 13:12:37 +11:00
identity_verification.go [CI] Add gocritic linter (#977) 2020-05-06 10:52:06 +10:00
identity_verification_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
log_request.go Display correct RemoteIP in logs. 2019-12-11 19:01:16 +01:00
log_request_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
require_first_factor.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
strip_path.go [FEATURE] Allow Authelia to listen on a specified path (#1027) 2020-05-21 12:20:55 +10:00
types.go [CI] Add godot linter (#958) 2020-05-02 15:06:39 +10:00