Re: Freeze break: fix docs 404

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 11, 2017 at 12:51:04PM -0700, Kevin Fenzi wrote:
> Greetings.
> 
> When I set this up the other week at flock I didn't realize that giving
> the full url here would simply redirect to it.
> We instead need the path to it so it will properly return a 404 to the
> caller.
> 
> diff --git a/roles/fedora-docs/proxy/files/fedora-docs.conf
> b/roles/fedora-docs/proxy/files/fedora-docs.conf
> index 508ad1d..ebce645 100644
> --- a/roles/fedora-docs/proxy/files/fedora-docs.conf
> +++ b/roles/fedora-docs/proxy/files/fedora-docs.conf
> @@ -1,5 +1,5 @@
>  DocumentRoot /srv/web/docs.fedoraproject.org/
> -ErrorDocument 404 https://docs.fedoraproject.org/_images/404.html
> +ErrorDocument 404 /_images/404.html
> 
>  AddType application/epub+zip .epub
>  AddType image/svg+xml .svg
> 
> I tested this in stg and it works now as expected.
> 
> In addition to applying this of course I need to run the proxy playbooks.
> 
> +1s?

+1 for me


Pierre

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux