Created
August 5, 2014 18:30
-
-
Save phred/6dda1fd3f60eb0e5df6d to your computer and use it in GitHub Desktop.
rewriting permalinks with nginx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rewrite ^/about$ / last; | |
rewrite ^/2009/04/problems-installing-easy_install-python-imaging-library.html$ /problems-installing-easy_install-python-imaging-library last; | |
rewrite ^/2009/06/the-unofficial-way-to-uninstall-darwinports-macports.html$ /the-unofficial-way-to-uninstall-darwinports-macports last; | |
rewrite ^/2009/08/28.html$ /28 last; | |
rewrite ^/2009/08/56.html$ /56 last; | |
rewrite ^/2009/08/57.html$ /57 last; | |
rewrite ^/2009/09/django-pinax-and-humble-pie-%e2%80%94-my-talk-at-refresh-augusta.html$ django-pinax last; | |
rewrite ^/2009/12/why-i-wont-be-signing-up-for-a-pixily-account.html$ /why-i-wont-be-signing-up-for-a-pixily-account last; | |
rewrite ^/2010/04/home-office.html$ /home-office last; | |
rewrite ^/2010/04/blip-april-30-2010-614-am.html$ /blip-april-30-2010-614-am last; | |
rewrite ^/2010/04/blip-april-30-2010-1245-pm.html$ /blip-april-30-2010-1245-pm last; | |
rewrite ^/2010/06/%d0%bf%d0%be%d0%b7%d0%b4%d1%80%d0%b0%d0%b2%d0%bb%d1%8f%d1%8e.html$ congrats-evg last; | |
rewrite ^/2010/06/yeomans-work.html$ /yeomans-work last; | |
rewrite ^/2010/06/self-service-linux%c2%ae-mastering-the-art-of-problem-determination.html$ self-service-linux last; | |
rewrite ^/2010/06/dueling-beetles-%e2%80%94-hornicus-vs-scarab%c3%a6.html$ beetledrome last; | |
rewrite ^/2010/06/blip-june-10-2010-1216-pm.html$ /blip-june-10-2010-1216-pm last; | |
rewrite ^/2010/06/reflections-on-one-week-out-of-the-home-office.html$ /reflections-on-one-week-out-of-the-home-office last; | |
rewrite ^/2010/09/bzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzrt.html$ /bzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzrt last; | |
rewrite ^/2010/10/pedal-powered-machines.html$ /pedal-powered-machines last; | |
rewrite ^/2011/01/qr-codes-in-factor.html$ /qr-codes-in-factor last; | |
rewrite ^/2011/02/sorting-in-factor.html$ /sorting-in-factor last; | |
rewrite ^/2011/03/this-is-your-weblog-on-dexy.html$ /this-is-your-weblog-on-dexy last; | |
rewrite ^/2011/04/factoring-the-luhn-algorithm.html$ /factoring-the-luhn-algorithm last; | |
rewrite ^/2011/05/copy-and-copy-json-essential-listener-hacks.html$ /copy-and-copy-json-essential-listener-hacks last; | |
rewrite ^/2011/10/remembering-steve.html$ /remembering-steve last; | |
rewrite ^/2012/04/whats-fred-using.html$ /whats-fred-using last; | |
rewrite ^/2012/05/mysql-20-questions-every-sysadmin-faces.html$ /mysql-20-questions-every-sysadmin-faces last; | |
rewrite ^/2012/07/the-site-is-down-quick-tell-the-customers.html$ /the-site-is-down-quick-tell-the-customers last; | |
rewrite ^/2012/07/downtime-antipatterns-courtesy-of-zipcar.html$ /downtime-antipatterns-courtesy-of-zipcar last; | |
rewrite ^/2013/02/phun-with-xml.html$ /phun-with-xml last; | |
rewrite ^/2013/04/cfa13.html$ /cfa13 last; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No way to this automaticly for all artciles ?