Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI Configuration Service Configuration
This patch moves the configuration of the user interface configuration service (providing the `/ui-config` endpoint) from the global configuration to a service configuration file. It also adds support for returning an X-Accel-Redirect header along the way.
- Loading branch information
Showing
5 changed files
with
77 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Directory user interface configuration is served from. | ||
# Default: ${karaf.etc}/ui-config | ||
#org.opencastproject.uiconfig.folder=${karaf.etc}/ui-config | ||
|
||
# Makes the UI configuration service return an X-Accel-Redirect header using the | ||
# following path prefix instead of serving the actual file. | ||
# More details: https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/ | ||
# Default: null | ||
#x.accel.redirect=/protected-ui-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
modules/user-interface-configuration/src/main/resources/OSGI-INF/uiconfig.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters