Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
066dcfab
Commit
066dcfab
authored
12 years ago
by
ichuang
Browse files
Options
Downloads
Patches
Plain Diff
updates to envs.dev_ike for dogfood / edx4edx dev server
parent
2a16c46d
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
envs/dev_ike.py
+20
-1
20 additions, 1 deletion
envs/dev_ike.py
with
20 additions
and
1 deletion
envs/dev_ike.py
+
20
−
1
View file @
066dcfab
...
...
@@ -7,17 +7,21 @@ sessions. Assumes structure:
/mitx # The location of this repo
/log # Where we
'
re going to write log files
"""
MITX_ROOT_URL
=
'
/mitx2
'
from
envs.common
import
*
from
envs.logsettings
import
get_logger_config
from
dev
import
*
MITX_ROOT_URL
=
'
/mitx2
'
#-----------------------------------------------------------------------------
# ichuang
DEBUG
=
True
ENABLE_MULTICOURSE
=
True
# set to False to disable multicourse display (see lib.util.views.mitxhome)
QUICKEDIT
=
True
MITX_ROOT_URL
=
''
COURSE_SETTINGS
=
{
'
6.002_Spring_2012
'
:
{
'
number
'
:
'
6.002x
'
,
'
title
'
:
'
Circuits and Electronics
'
,
...
...
@@ -53,3 +57,18 @@ COURSE_SETTINGS = {'6.002_Spring_2012': {'number' : '6.002x',
#-----------------------------------------------------------------------------
MIDDLEWARE_CLASSES
=
MIDDLEWARE_CLASSES
+
(
'
ssl_auth.ssl_auth.NginxProxyHeaderMiddleware
'
,
# ssl authentication behind nginx proxy
)
AUTHENTICATION_BACKENDS
=
(
'
ssl_auth.ssl_auth.SSLLoginBackend
'
,
'
django.contrib.auth.backends.ModelBackend
'
,
)
INSTALLED_APPS
=
INSTALLED_APPS
+
(
'
ssl_auth
'
,
)
LOGIN_REDIRECT_URL
=
MITX_ROOT_URL
+
'
/
'
LOGIN_URL
=
MITX_ROOT_URL
+
'
/
'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment