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
c38a967e
Commit
c38a967e
authored
Jun 09, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused nginx.conf
parent
6ddf45e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
72 deletions
+0
-72
proxy/nginx.conf
+0
-72
No files found.
proxy/nginx.conf
deleted
100644 → 0
View file @
6ddf45e7
# Mapping of
#
# From the /edx-platform directory:
# /usr/local/Cellar/nginx/1.2.2/sbin/nginx -p `pwd`/ -c nginx.conf
worker_processes
1
;
events
{
worker_connections
1024
;
}
http
{
##
# Basic Settings
##
sendfile
on
;
tcp_nopush
on
;
tcp_nodelay
on
;
keepalive_timeout
65
;
types_hash_max_size
2048
;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include
/usr/local/etc/nginx/mime.types
;
default_type
application/octet-stream
;
##
# Gzip Settings
##
gzip
on
;
gzip_disable
"msie6"
;
upstream
portal
{
server
localhost
:
8000
;
}
upstream
course_harvardx_cs50_2012
{
server
localhost
:
8001
;
}
upstream
course_mitx_6002_2012_fall
{
server
localhost
:
8002
;
}
# Mostly copied from our existing server...
server
{
listen
8100
default_server
;
rewrite
^(.*)/favicon.ico
$
/static/images/favicon.ico
last
;
# Our catchall
location
/
{
proxy_pass
http://portal
;
}
location
/courses/HarvardX/CS50x/2012/
{
proxy_pass
http://course_harvardx_cs50_2012
;
}
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