Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create nginx redirect configuration script for accepted ProtoXEPs #406

Open
tfar opened this issue Feb 8, 2017 · 2 comments
Open

Create nginx redirect configuration script for accepted ProtoXEPs #406

tfar opened this issue Feb 8, 2017 · 2 comments

Comments

@tfar
Copy link
Contributor

tfar commented Feb 8, 2017

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.

@Neustradamus
Copy link

@Neustradamus
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants