+1

On 11 September 2017 at 15:51, Kevin Fenzi <ke...@scrye.com> 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?
>
> kevin
>
>
> _______________________________________________
> infrastructure mailing list -- infrastructure@lists.fedoraproject.org
> To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
>



-- 
Stephen J Smoogen.
_______________________________________________
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org

Reply via email to