Jose Diaz-Gonzalez
45b2f87b15
Merge pull request #831 from progrium/nginx-docs
...
Nginx docs
2014-12-19 15:13:14 -05:00
Jose Diaz-Gonzalez
3d6727a1b8
Add documentation for configuring the nginx domains and vhosts
2014-12-19 15:10:10 -05:00
Jose Diaz-Gonzalez
bf4781a5d7
Use shell keyword for codeblock guard
2014-12-19 15:09:38 -05:00
Michael Hobbs
2d48d81d09
Merge pull request #828 from andrewsomething/port
...
Display the port for an app when falling back to the ip address.
2014-12-18 14:10:11 -08:00
Andrew Starr-Bochicchio
294b419da5
Display the port for an app when falling back to the ip address.
2014-12-17 21:20:18 -05:00
Jose Diaz-Gonzalez
f1bfb3ed3a
Merge pull request #827 from expa/mh-mv-default-vhost-to-core
...
Handle IP only access
2014-12-17 19:53:59 -05:00
Michael Hobbs
56472bd08c
VHOST fallback
2014-12-16 23:01:32 -08:00
Michael Hobbs
e99e2201cb
mv default VHOST creation to core install
2014-12-16 20:25:44 -08:00
Jose Diaz-Gonzalez
5bf1ba7ed7
Merge pull request #783 from progrium/nginx-cleanup
...
New domains plugin and nginx extension
2014-12-16 17:15:30 -05:00
Jose Diaz-Gonzalez
5d014d0a8e
Merge pull request #823 from expa/nginx-cleanup
...
show URLS with scheme. now with bug fixes!!!
2014-12-16 16:26:47 -05:00
Michael Hobbs
59f047bb45
include SSL_VHOSTS in NOSSL_SERVER_NAME so we can redirect from http to https on the secure hostname as well
2014-12-16 12:15:10 -08:00
Michael Hobbs
1b208778f3
bugfixes
...
- don't match substrings in VHOSTS
- handle case where NOSSL_SERVER_NAME is \' \'
- rebuild nginx config on ssl import
- prevent cwd errors after we rm the temp dir
2014-12-15 18:10:14 -08:00
Michael Hobbs
a6cdae5abf
reset VHOST to default upon domains:clear
2014-12-15 18:04:00 -08:00
Michael Hobbs
50115d3640
print out urls with scheme
2014-12-15 18:02:57 -08:00
Michael Hobbs
78d3921a6f
don't break other nginx plugins like nginx-alt
2014-12-15 13:15:40 -08:00
Jose Diaz-Gonzalez
23d4224beb
Merge pull request #818 from expa/nginx-cleanup
...
rebuild nginx config on domain change
2014-12-14 18:31:43 -05:00
Michael Hobbs
4e0670f1ac
rebuild nginx config on domain change
2014-12-12 17:53:30 -08:00
Jose Diaz-Gonzalez
0bd8d71bb9
Release 0.3.9
v0.3.9
2014-12-12 09:58:02 -05:00
Jose Diaz-Gonzalez
12ee9bc3e7
Merge pull request #816 from progrium/build-env-docs
...
Add documentation for user-env feature
2014-12-12 09:56:46 -05:00
Jose Diaz-Gonzalez
a991c450be
Remove user-env-compile plugins from docs
2014-12-12 09:55:41 -05:00
Jose Diaz-Gonzalez
a900aa45d6
Add documentation for the recent build-env feature addition
2014-12-12 09:54:26 -05:00
Jose Diaz-Gonzalez
3c8b3cedea
Merge pull request #814 from progrium/dokku-env-vars
...
Source files in $DOKKU_ROOT/.dokkurc directory and add `dokku trace` command
2014-12-12 09:25:51 -05:00
Jose Diaz-Gonzalez
dec8056ef5
Link to gist.github.com
2014-12-12 01:10:10 -05:00
Jose Diaz-Gonzalez
784e2cfd5e
Add a note about enabling dokku trace via the cli
2014-12-12 01:09:59 -05:00
Jose Diaz-Gonzalez
b9b9d6303a
Add a dokku trace command to allow easy toggling of the DOKKU_TRACE option
2014-12-12 01:07:43 -05:00
Jose Diaz-Gonzalez
39912ce5db
Allow sourcing in any file in .dokkurc
...
This allows us to configure dokku env-vars individually. Such a feature is useful if a developer would like to enable or disable DOKKU_TRACE without parsing a dokkurc file.
2014-12-12 01:07:08 -05:00
Jose Diaz-Gonzalez
7d8ec62a86
Merge pull request #787 from progrium/build-env
...
Official user-env-compile plugin
2014-12-11 21:15:45 -05:00
Jose Diaz-Gonzalez
8cd4863126
Merge pull request #813 from expa/build-env
...
build-env todos
2014-12-11 18:18:26 -05:00
Michael Hobbs
7c8feb9e0d
build-env todos
2014-12-11 14:56:25 -08:00
Jose Diaz-Gonzalez
d6ef5e3447
Merge pull request #812 from expa/build-env
...
create build env for both dokku and new style buildpacks
2014-12-11 16:33:28 -05:00
Michael Hobbs
498e250e2e
link to commit id and line in comment
2014-12-11 12:52:04 -08:00
Michael Hobbs
7d5e0ba5aa
create build env for both dokku and new style buildpacks
2014-12-11 12:05:55 -08:00
Jose Diaz-Gonzalez
a7b8eb5581
Merge pull request #811 from abossard/patch-1
...
Please increase the server_names_hash_bucket_size
2014-12-11 10:22:44 -05:00
Andre Bossard
79788e5690
Please increase the server_names_hash_bucket_size
...
I use Dokku in a private environment with very long hostname.... 64 was always a lot to short.
2014-12-11 09:59:13 +01:00
Jose Diaz-Gonzalez
ae61ef3f1e
Add backup support to nginx.conf.template files
2014-12-11 02:40:20 -05:00
Jose Diaz-Gonzalez
1d45ca0cdd
Add backup export/import hooks for associated VHOST files
2014-12-11 02:38:08 -05:00
Jose Diaz-Gonzalez
b4c864bea7
Use sed to indent output of dokku url command
2014-12-11 02:34:24 -05:00
Jose Diaz-Gonzalez
01e7f1cdb6
Output *all* hosts on multiple lines
2014-12-11 02:34:08 -05:00
Jose Diaz-Gonzalez
0865ff3f79
Use updated VHOST file instead of URL file when outputting the current URL to an app
...
Note that this may include more than one URL to an app
2014-12-11 02:16:52 -05:00
Jose Diaz-Gonzalez
11b126a845
Do not overwrite URL file
2014-12-11 02:14:52 -05:00
Jose Diaz-Gonzalez
605ba27eeb
Use a one-liner for the "Configuring" echo statement
2014-12-11 02:12:46 -05:00
Jose Diaz-Gonzalez
8109c9c569
Delete the VHOST file, not the URL file, when NO_VHOST is set
...
The URL file is useful for understanding what port docker decided to host our app internally on.
2014-12-11 02:10:49 -05:00
Jose Diaz-Gonzalez
9111902542
Fix issue where VHOST was not properly being set
...
The URL file is being rewritten on every deploy by `dokku deploy` and thus that file was incorrect. Instead, we just reuse the old logic from the nginx-vhosts plugin to handle creation of the VHOST file
2014-12-11 02:09:54 -05:00
Jose Diaz-Gonzalez
4955f9c600
Fix test for file
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
976dc3009c
Use a normal conditional
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
0b4b2b29a8
Add missing env var
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
e84526490e
Move VHOST file creation to a single domains:setup command
...
This helps remove duplication and also ensures that all hosts have a proper setup after running `make copyfiles`
Note that this command is not exposed in help as it is not generally useful to developers
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
66171551d8
Add domains plugin as written in https://github.com/jtangelder/dokku-nginx-alt
...
This plugin conforms to the heroku api for setting and removing domains. Note that it does not yet update the URL file for a given application.
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
f23809e75f
Implement the ability to set multiple server names for a given application
...
Adding a hostname to the $APP/VHOST file will enable it as a virtualhost for the application.
In addition, any hostname set that matches an associated ssl certificate will also be set as an ssl host. Note that if a hostname does not have a matching SSL host, then it will result in an erroring application.
For the moment, running `dokku url` on an app may not correctly display the current hostnames for said app.
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
b967514c55
Allow overriding of the nginx.conf template via nginx.conf.template
2014-12-11 01:36:44 -05:00