spaspec / spaspec-standard

Static Page Application Specification Standard
Creative Commons Zero v1.0 Universal
3 stars 0 forks source link

Reverse proxy routes #7

Open stuartpb opened 8 years ago

stuartpb commented 8 years ago

I'm thinking this will be handled with a new, special, not-necessarily-supported route type, like list in #6. Say, instead of /foo/bar 200 localfile.html, you'd have /foo/bar proxy 200 http://remote.example.com/filelocation.html, with a /foo/bar 301 http://remote.example.com/filelocation.html right beneath it for implementations that don't recognize proxy.