Commit 98b3888c by Tim Krones

Make it possible to add custom settings to site configuration for Studio and LMS.

parent 03527b9e
- Role: nginx
- Added `NGINX_EDXAPP_CMS_APP_EXTRA`, which makes it possible to add custom settings to the site configuration for Studio.
- Added `NGINX_EDXAPP_LMS_APP_EXTRA`, which makes it possible to add custom settings to the site configuration for the LMS.
- Role: edxapp - Role: edxapp
- DOC_LINK_BASE settings have been removed, replaced by HELP_TOKENS_BOOKS - DOC_LINK_BASE settings have been removed, replaced by HELP_TOKENS_BOOKS
......
...@@ -153,3 +153,8 @@ NGINX_CREATE_HTPASSWD_FILE: > ...@@ -153,3 +153,8 @@ NGINX_CREATE_HTPASSWD_FILE: >
XQUEUE_ENABLE_BASIC_AUTH|bool or XQUEUE_ENABLE_BASIC_AUTH|bool or
XSERVER_ENABLE_BASIC_AUTH|bool XSERVER_ENABLE_BASIC_AUTH|bool
}} }}
# Extra settings to add to site configuration for Studio
NGINX_EDXAPP_CMS_APP_EXTRA: ""
# Extra settings to add to site configuration for LMS
NGINX_EDXAPP_LMS_APP_EXTRA: ""
...@@ -104,6 +104,8 @@ error_page {{ k }} {{ v }}; ...@@ -104,6 +104,8 @@ error_page {{ k }} {{ v }};
proxy_redirect off; proxy_redirect off;
proxy_pass http://cms-backend; proxy_pass http://cms-backend;
{{ NGINX_EDXAPP_CMS_APP_EXTRA }}
} }
location / { location / {
......
...@@ -149,6 +149,8 @@ error_page {{ k }} {{ v }}; ...@@ -149,6 +149,8 @@ error_page {{ k }} {{ v }};
proxy_redirect off; proxy_redirect off;
proxy_pass http://lms-backend; proxy_pass http://lms-backend;
{{ NGINX_EDXAPP_LMS_APP_EXTRA }}
} }
location / { location / {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment