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
06e04092
Commit
06e04092
authored
Oct 11, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding basic auth defaults for edxapp
parent
8cf00779
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletions
+9
-1
playbooks/roles/edxapp/defaults/main.yml
+4
-0
playbooks/roles/nginx/templates/cms.j2
+1
-1
playbooks/roles/nginx/templates/lms-preview.j2
+4
-0
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
06e04092
...
...
@@ -82,6 +82,10 @@ EDXAPP_LMS_NGINX_PORT: 80
EDXAPP_LMS_PREVIEW_NGINX_PORT
:
18020
EDXAPP_CMS_NGINX_PORT
:
18010
EDXAPP_LMS_BASIC_AUTH
:
False
EDXAPP_CMS_BASIC_AUTH
:
False
EDXAPP_LMS_PREVIEW_BASIC_AUTH
:
False
#-------- Everything below this line is internal to the role ------------
...
...
playbooks/roles/nginx/templates/cms.j2
View file @
06e04092
...
...
@@ -31,7 +31,7 @@ server {
}
location / {
{% if EDXAPP_
L
MS_BASIC_AUTH %}
{% if EDXAPP_
C
MS_BASIC_AUTH %}
{% include "basic-auth.j2" %}
{% endif %}
try_files $uri @proxy_to_cms_app;
...
...
playbooks/roles/nginx/templates/lms-preview.j2
View file @
06e04092
...
...
@@ -28,6 +28,10 @@ server {
}
location / {
{% if EDXAPP_LMS_PREVIEW_BASIC_AUTH %}
{% include "basic-auth.j2" %}
{% endif %}
try_files $uri @proxy_to_lms-preview_app;
}
...
...
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