xeps
xeps copied to clipboard
Create nginx redirect configuration script for accepted ProtoXEPs
When a contribution comes in, the ProtoXEP is placed in the /inbox
folder, and people discuss it. In case it's accepted as experimental XEP, the ProtoXEP is moved to the xeps root /
folder. It would be nice if the old files would redirect to the new one.
It should be possible to write a short bash or python script that does the right git query and creates a config snippet full of nginx redirect rules for the inbox XEPs to their xep-####.xml/html equivalent.
On the server we could then run that script and include the output of the script in our nginx config.
Linked to:
- https://github.com/xsf/xmpp.org/issues/421
Linked to:
- https://github.com/xsf/xeps/issues/992