Jose Diaz-Gonzalez
938a16de53
Merge pull request #880 from progrium/879-mh-port-based-fix
...
disable VHOST deployment if global VHOST file is missing and an app domain has not been added
2015-01-11 18:14:55 -05:00
Michael Hobbs
80d13c0005
allow users to add a domain to an app if there is no global vhost
2015-01-11 14:35:02 -08:00
Michael Hobbs
c63be44989
IP and PORT are likely to get clobbered. rename them
2015-01-09 12:12:52 -08:00
Michael Hobbs
da465a61dd
disable VHOST deployment if global VHOST file is missing
2015-01-08 15:58:08 -08:00
Jose Diaz-Gonzalez
8502881633
Merge pull request #868 from expa/mh-circle-ci
...
use circleci for automated testing
2015-01-06 23:44:15 -05:00
Michael Hobbs
896ce50c93
support pre deployment usage of domains plugin. fixes interface binding issue
2015-01-06 12:42:21 -08:00
Michael Hobbs
9d81dda524
try circle again
2015-01-05 17:03:06 -08:00
Jose Diaz-Gonzalez
566cc15081
Merge pull request #864 from progrium/860-mh-bind-to-internal-ip
...
bind docker container to internal port if using vhosts
2015-01-05 19:58:18 -05:00
Michael Hobbs
441d212ef2
add ipv6 detection for external port binding
2015-01-05 10:47:20 -08:00
Jose Diaz-Gonzalez
bc072e1db3
Merge pull request #858 from progrium/857-disable-server-tokens
...
Disable server tokens in nginx. Closes #857
2015-01-03 22:12:22 -05:00
Jose Diaz-Gonzalez
ab7f9f1161
Move server_tokens off to the global nginx conf
2015-01-03 21:41:18 -05:00
Michael Hobbs
948d7902f2
bind docker container to internal port if using vhosts
2015-01-02 16:27:19 -08:00
Jose Diaz-Gonzalez
93a01fb763
Pass command being executed when retrieving DOCKER_ARGS via pluginhook. Closes #829
2015-01-01 15:14:47 -05:00
Jose Diaz-Gonzalez
2a51301a5d
Disable server tokens in nginx. Closes #857
2015-01-01 15:03:43 -05:00
Michael Hobbs
de09260c33
add certificate CN to app VHOST if it's not already
2014-12-23 23:08:22 -08:00
Michael Hobbs
43fe6edb04
build app urls based on wildcard ssl or app ssl
2014-12-23 13:52:50 -08:00
Michael Hobbs
c2911c94a8
quote build_env vars
2014-12-22 15:52:54 -08:00
Jose Diaz-Gonzalez
f5a5f7702b
Merge pull request #833 from expa/mh-fix-orphaned-app-image
...
auto remove the cache dir cleanup container
2014-12-22 10:22:47 -05:00
Michael Hobbs
6bb01404ec
poor lint fix choice. let's not do that.
2014-12-21 14:51:42 -08:00
Michael Hobbs
e8b4bd5a89
lintball
2014-12-21 14:51:42 -08:00
Michael Hobbs
3827e38caa
set nullglob
2014-12-21 14:51:41 -08:00
Michael Hobbs
9322200eae
lintball
2014-12-21 14:51:41 -08:00
Michael Hobbs
3b41d6d16f
create build env for both dokku and new style buildpacks
2014-12-21 14:51:41 -08:00
Michael Hobbs
f9b7d5378d
lintball in build-env
2014-12-21 14:51:41 -08:00
Michael Hobbs
606bbda66c
make tests work
2014-12-21 14:51:40 -08:00
Michael Hobbs
3706392e65
test with wercker
2014-12-21 14:51:40 -08:00
Michael Hobbs
f797ff77f4
make sure we match the specific string in VHOST
2014-12-21 13:57:45 -08:00
Michael Hobbs
c2736c7c7a
auto remove the cache dir cleanup container
2014-12-20 17:20:32 -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
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
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
Michael Hobbs
4e0670f1ac
rebuild nginx config on domain change
2014-12-12 17:53:30 -08: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
7d8ec62a86
Merge pull request #787 from progrium/build-env
...
Official user-env-compile plugin
2014-12-11 21:15:45 -05:00
Michael Hobbs
7c8feb9e0d
build-env todos
2014-12-11 14:56:25 -08: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
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
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