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(a)lists.fedoraproject.org
To unsubscribe send an email to infrastructure-leave(a)lists.fedoraproject.org