Open asgeo1 opened 9 years ago
I don't use Pow as a webserver, but it's very useful as a tool for port proxying.
I'm trying to run my rails test server on one port, and my dev server on another port.
I can add the .test TLD via export POW_DOMAINS=dev,test. However, there is no way to create separate virtual host files for the .test TLD.
.test
export POW_DOMAINS=dev,test
What I means is that I want http://examplesubdomain.myapp.dev to port proxy 7000 and http://examplesubdomain.myapp.test to port proxy to 7002
http://examplesubdomain.myapp.dev
http://examplesubdomain.myapp.test
However, in Pow I can only create a single ~/.pow/examplesubdomain.myapp virtual directory file. I can't specify separate files for separate TLDs.
~/.pow/examplesubdomain.myapp
I would like to be able to create separate virtual directory files like this:
~/.pow/examplesubdomain.myapp.dev
~/.pow/examplesubdomain.myapp.test
If you're using a different TLD, can you not just already use a different app name?
http://examplesubdomain.myapp.dev && http://examplesubdomain.myapp-test.dev
http://examplesubdomain.myapp-test.dev
I don't use Pow as a webserver, but it's very useful as a tool for port proxying.
I'm trying to run my rails test server on one port, and my dev server on another port.
I can add the
.test
TLD viaexport POW_DOMAINS=dev,test
. However, there is no way to create separate virtual host files for the.test
TLD.What I means is that I want
http://examplesubdomain.myapp.dev
to port proxy 7000 andhttp://examplesubdomain.myapp.test
to port proxy to 7002However, in Pow I can only create a single
~/.pow/examplesubdomain.myapp
virtual directory file. I can't specify separate files for separate TLDs.I would like to be able to create separate virtual directory files like this:
~/.pow/examplesubdomain.myapp.dev
~/.pow/examplesubdomain.myapp.test