pub dev server and reverse proxy

153 views
Skip to first unread message

ntaoo.g

unread,
Jun 18, 2014, 1:39:55 PM6/18/14
to w...@dartlang.org
Is it possible to edit pub dev server by "pub serve"? I want to add reverse proxy function just like grunt-connect-proxy.

Or perhaps I should set up Nginx or Apache for the reverse proxy?

Bob Nystrom

unread,
Jun 18, 2014, 8:52:19 PM6/18/14
to web
On Wed, Jun 18, 2014 at 10:39 AM, ntaoo.g <nta...@gmail.com> wrote:
Is it possible to edit pub dev server by "pub serve"? I want to add reverse proxy function just like grunt-connect-proxy.

No, sorry. Pub serve isn't extensible that way, and we don't plan it to be.
 
Or perhaps I should set up Nginx or Apache for the reverse proxy?

Yes, this is what we have in mind. We expect users to have their server proxy requests to pub serve, and not vice versa.

Cheers!

- bob

Naoto Hc

unread,
Jun 18, 2014, 10:38:52 PM6/18/14
to w...@dartlang.org
Thank you, Bob!


--
You received this message because you are subscribed to the Google Groups "Dart Web Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web+uns...@dartlang.org.
Visit this group at http://groups.google.com/a/dartlang.org/group/web/.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/web/CAF8T8LxygZrWgVRRXEw3kBfEqUJRQWboXRgvFxqMDCN_OrCfZQ%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages