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
a397c586
Commit
a397c586
authored
8 years ago
by
E. Kolpakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dual SSL and non-SSL config for insights
parent
66f43a64
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
playbooks/roles/insights/defaults/main.yml
+1
-0
playbooks/roles/nginx/templates/edx/app/nginx/sites-available/insights.j2
+1
-1
No files found.
playbooks/roles/insights/defaults/main.yml
View file @
a397c586
...
@@ -127,6 +127,7 @@ INSIGHTS_CONFIG:
...
@@ -127,6 +127,7 @@ INSIGHTS_CONFIG:
INSIGHTS_NEWRELIC_APPNAME
:
"
{{
COMMON_ENVIRONMENT
}}-{{
COMMON_DEPLOYMENT
}}-analytics-api"
INSIGHTS_NEWRELIC_APPNAME
:
"
{{
COMMON_ENVIRONMENT
}}-{{
COMMON_DEPLOYMENT
}}-analytics-api"
INSIGHTS_PIP_EXTRA_ARGS
:
"
-i
{{
COMMON_PYPI_MIRROR_URL
}}"
INSIGHTS_PIP_EXTRA_ARGS
:
"
-i
{{
COMMON_PYPI_MIRROR_URL
}}"
INSIGHTS_NGINX_PORT
:
"
18110"
INSIGHTS_NGINX_PORT
:
"
18110"
INSIGHTS_NGINX_SSL_PORT
:
"
18113"
INSIGHTS_GUNICORN_WORKERS
:
"
2"
INSIGHTS_GUNICORN_WORKERS
:
"
2"
INSIGHTS_GUNICORN_EXTRA
:
"
"
INSIGHTS_GUNICORN_EXTRA
:
"
"
INSIGHTS_COURSE_API_URL
:
"
{{
INSIGHTS_LMS_BASE
}}/api/course_structure/v0/"
INSIGHTS_COURSE_API_URL
:
"
{{
INSIGHTS_LMS_BASE
}}/api/course_structure/v0/"
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/nginx/templates/edx/app/nginx/sites-available/insights.j2
View file @
a397c586
...
@@ -8,7 +8,7 @@ server {
...
@@ -8,7 +8,7 @@ server {
listen {{ INSIGHTS_NGINX_PORT }} default_server;
listen {{ INSIGHTS_NGINX_PORT }} default_server;
{% if NGINX_ENABLE_SSL %}
{% if NGINX_ENABLE_SSL %}
ssl on
;
listen {{ INSIGHTS_NGINX_SSL_PORT }} ssl
;
ssl_certificate /etc/ssl/certs/{{ NGINX_SSL_CERTIFICATE|basename }};
ssl_certificate /etc/ssl/certs/{{ NGINX_SSL_CERTIFICATE|basename }};
ssl_certificate_key /etc/ssl/private/{{ NGINX_SSL_KEY|basename }};
ssl_certificate_key /etc/ssl/private/{{ NGINX_SSL_KEY|basename }};
...
...
This diff is collapsed.
Click to expand it.
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