Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Serve RTD for packages.python.org #113

Merged
merged 1 commit into from

1 participant

@dstufft
Owner

No description provided.

@dstufft dstufft merged commit 598dbb0 into from
@dstufft dstufft deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 23, 2014
  1. @dstufft
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 cookbooks/psf-loadbalancer/templates/default/haproxy.cfg.erb
View
6 cookbooks/psf-loadbalancer/templates/default/haproxy.cfg.erb
@@ -20,6 +20,7 @@ frontend <%= proto %>
acl host_cheeseshop hdr(host) -i cheeseshop.python.org
acl host_packages hdr(host) -i packages.python.org
+ acl host_packaging hdr(host) -i packaging.python.org
acl host_wiki hdr(host) -i wiki.python.org
acl host_pypy hdr(host) -i pypy.org www.pypy.org
acl host_preview hdr(host) -i preview.python.org preview.front.python.org
@@ -32,6 +33,7 @@ frontend <%= proto %>
use_backend cheeseshop if host_cheeseshop
use_backend packages if host_packages
+ use_backend packaging if host_packaging
use_backend wiki if host_wiki
use_backend pypy-home if host_pypy
use_backend preview if host_preview
@@ -49,6 +51,10 @@ backend cheeseshop
backend packages
redirect prefix https://pythonhosted.org code 301
+backend packaging
+ reqadd X-RTD-SLUG:\ python-packaging-user-guide
+ server readthedocs readthedocs.org:80
+
backend jobs
redirect location https://www.python.org/jobs code 302
Something went wrong with that request. Please try again.