Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
92ffd816
Commit
92ffd816
authored
Aug 17, 2012
by
jarv
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #449 from MITx/feature/dave/wiki_proxy
Config changes relating to course server split
parents
fae9722e
0b2e2c89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
lms/envs/aws.py
+4
-0
proxy/nginx.conf
+5
-0
No files found.
lms/envs/aws.py
View file @
92ffd816
...
...
@@ -56,3 +56,7 @@ AWS_SECRET_ACCESS_KEY = AUTH_TOKENS["AWS_SECRET_ACCESS_KEY"]
DATABASES
=
AUTH_TOKENS
[
'DATABASES'
]
XQUEUE_INTERFACE
=
AUTH_TOKENS
[
'XQUEUE_INTERFACE'
]
if
'COURSE_ID'
in
ENV_TOKENS
:
ASKBOT_URL
=
"courses/{0}/discussions/"
.
format
(
ENV_TOKENS
[
'COURSE_ID'
])
proxy/nginx.conf
View file @
92ffd816
...
...
@@ -61,6 +61,11 @@ http {
location
/courses/MITx/6.002x/2012_Fall/
{
proxy_pass
http://course_mitx_6002_2012_fall
;
}
location
~
/courses/([^/]*)/([^/]*)/([^/]*)/(course_wiki|wiki)
{
proxy_pass
http://portal
;
}
}
}
...
...
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