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
edx
configuration
Commits
de7d5e40
Commit
de7d5e40
authored
Apr 12, 2016
by
Bilal Ahmad
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2901 from edx/bilal_cleanup
cleaning up my mistake
parents
7c370ea1
8be249ac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
playbooks/roles/nginx/defaults/main.yml
+1
-1
playbooks/roles/nginx/tasks/main.yml
+1
-1
util/jenkins/ansible-provision.sh
+6
-2
No files found.
playbooks/roles/nginx/defaults/main.yml
View file @
de7d5e40
...
...
@@ -11,7 +11,7 @@ NGINX_EDXAPP_EXTRA_CONFIGS: []
NGINX_EDXAPP_CUSTOM_REDIRECTS
:
{}
# Override these vars for adding user to nginx.htpasswd
NGINXUSERS
:
NGINX
_
USERS
:
-
name
:
"
{{
COMMON_HTPASSWD_USER
}}"
password
:
"
{{
COMMON_HTPASSWD_PASS
}}"
state
:
present
...
...
playbooks/roles/nginx/tasks/main.yml
View file @
de7d5e40
...
...
@@ -231,7 +231,7 @@
tags
:
-
install
-
install:configuration
with_items
:
NGINXUSERS
with_items
:
NGINX
_
USERS
-
name
:
Create nginx log file location (just in case)
file
:
>
...
...
util/jenkins/ansible-provision.sh
View file @
de7d5e40
...
...
@@ -230,6 +230,12 @@ EOF_AUTH
fi
if
[[
-n
$nginx_users
]]
;
then
cat
<<
EOF_AUTH
>>
$extra_vars_file
NGINX_USERS:
$nginx_users
EOF_AUTH
fi
if
[[
$enable_client_profiling
==
"true"
]]
;
then
cat
<<
EOF_PROFILING
>>
$extra_vars_file
EDXAPP_SESSION_SAVE_EVERY_REQUEST: True
...
...
@@ -268,8 +274,6 @@ SANDBOX_USERNAME: $github_username
EDXAPP_ECOMMERCE_PUBLIC_URL_ROOT: "https://ecommerce-
${
deploy_host
}
"
EDXAPP_ECOMMERCE_API_URL: "https://ecommerce-
${
deploy_host
}
/api/v2"
NGINXUSERS:
$nginx_users
ECOMMERCE_ECOMMERCE_URL_ROOT: "https://ecommerce-
${
deploy_host
}
"
ECOMMERCE_LMS_URL_ROOT: "https://
${
deploy_host
}
"
ECOMMERCE_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
...
...
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