[pytest-dev] Redirect pytest.org over readthedocs

Bruno Oliveira nicoddemus at gmail.com
Sat Feb 13 23:02:32 EST 2016

On Sat, Feb 13, 2016 at 4:07 PM holger krekel <holger at merlinux.eu> wrote:

> Let's move back quickly, though, if there are any problems.
> So far i have not heart many complaints about pytest.org not working apart
> from the recent ssl hickup which should be automated now with letsencrypt.


Thanks, didn't know the server uses nginx. I poked around a little, and we
already have redirects in `/etc/nginx/sites-enabled/pytest.org.conf`:

    location @rewrites {
        rewrite ^(/)?$ http://pytest.org/latest/;
        rewrite ^/en/latest/(.*) http://pytest.org/latest/$1;
        rewrite ^/(assert.*)$ http://pytest.org/latest/$1;

Would just change those rewrites to docs.pytest.org (and the variants
there) do the trick? Any help here is appreciated.

*Anyway*, IMHO we shouldn't make any redirect before releasing 2.9. The
recent doc changes are not available on pytest.readthedocs.org yet because
we copied over the files manually. Btw thanks Ronny again for stepping in.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20160214/85202bac/attachment-0001.html>

More information about the pytest-dev mailing list