Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
98b3888c
Commit
98b3888c
authored
May 15, 2017
by
Tim Krones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it possible to add custom settings to site configuration for Studio and LMS.
parent
03527b9e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
0 deletions
+13
-0
CHANGELOG.md
+4
-0
playbooks/roles/nginx/defaults/main.yml
+5
-0
playbooks/roles/nginx/templates/edx/app/nginx/sites-available/cms.j2
+2
-0
playbooks/roles/nginx/templates/edx/app/nginx/sites-available/lms.j2
+2
-0
No files found.
CHANGELOG.md
View file @
98b3888c
-
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
-
DOC_LINK_BASE settings have been removed, replaced by HELP_TOKENS_BOOKS
...
...
playbooks/roles/nginx/defaults/main.yml
View file @
98b3888c
...
...
@@ -153,3 +153,8 @@ NGINX_CREATE_HTPASSWD_FILE: >
XQUEUE_ENABLE_BASIC_AUTH|bool or
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
:
"
"
playbooks/roles/nginx/templates/edx/app/nginx/sites-available/cms.j2
View file @
98b3888c
...
...
@@ -104,6 +104,8 @@ error_page {{ k }} {{ v }};
proxy_redirect off;
proxy_pass http://cms-backend;
{{ NGINX_EDXAPP_CMS_APP_EXTRA }}
}
location / {
...
...
playbooks/roles/nginx/templates/edx/app/nginx/sites-available/lms.j2
View file @
98b3888c
...
...
@@ -149,6 +149,8 @@ error_page {{ k }} {{ v }};
proxy_redirect off;
proxy_pass http://lms-backend;
{{ NGINX_EDXAPP_LMS_APP_EXTRA }}
}
location / {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment