Skip to content
Browse files

Fix CNAME index.html issue. >:x@regex

  • Loading branch information...
1 parent 3edd8d8 commit 70be358074c7a2a3ac5f31edb52f529379114556 @ericholscher ericholscher committed Aug 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 deploy/production/app.nginx.conf
View
2 deploy/production/app.nginx.conf
@@ -99,7 +99,7 @@ server {
}
#end pylons
- location ~ ^/en/(?P<version>.+)/?(?P<path>.*) {
+ location ~ ^/en/(?P<version>.+)/(?P<path>.*) {
alias /home/docs/sites/readthedocs.org/checkouts/readthedocs.org/cnames/$host/$version/$path;
add_header X-Served Nginx;
add_header X-Cname $host;

0 comments on commit 70be358

Please sign in to comment.
Something went wrong with that request. Please try again.