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
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
Jose Diaz-Gonzalez
a6c34ddd6f
Use a template to create an application's nginx.conf
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
8f0e794893
Remove extra dash
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
68a1d1af38
one-liner
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
eeff3d52eb
Combine calls to restart nginx into a single command
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
8aa196c660
Remove extra reload command
2014-12-11 01:36:44 -05:00
Jose Diaz-Gonzalez
155f4e9aba
Release 0.3.8
v0.3.8
2014-12-08 22:14:03 -05:00
Jose Diaz-Gonzalez
1bfbdb449b
Merge pull request #808 from progrium/proper-editorconfig
...
Ensure makefiles are properly formatted
2014-12-08 22:12:21 -05:00
Jose Diaz-Gonzalez
b3ca3368e8
Ensure makefiles are properly formatted
2014-12-08 22:12:04 -05:00
Jose Diaz-Gonzalez
04921d6876
Merge pull request #807 from progrium/799-force-nginx-conf
...
#799 : Force nginx conf
2014-12-08 22:05:17 -05:00
Jose Diaz-Gonzalez
a915b8888f
Ensure ruby is installed when running the dokku-installer
2014-12-08 21:57:10 -05:00
Jose Diaz-Gonzalez
129a5fd33d
Force install a default nginx.conf. Closes #799
2014-12-08 21:20:54 -05:00
Jose Diaz-Gonzalez
e567ce1a90
Merge pull request #806 from progrium/fix-remote-user
...
Dokku pushes now happen as the dokku user, not git. Refs #796
2014-12-08 20:59:22 -05:00
Jose Diaz-Gonzalez
489f131ffc
Dokku pushes now happen as the dokku user, not git. Refs #796
2014-12-08 20:58:50 -05:00
Jose Diaz-Gonzalez
45ec8df7be
Merge pull request #805 from ademuk/patch-1
...
Fixed import-ssl server.crt/key check
2014-12-08 20:36:18 -05:00
Adem Gaygusuz
469d1e3f49
Fix crt/key check
2014-12-09 00:37:47 +00:00
Jose Diaz-Gonzalez
7ca2f49d78
Merge pull request #801 from joelvh/patch-1
...
Point users to upgrade guides
2014-12-02 08:55:48 -05:00
Joel Van Horn
69176d2d9a
Point users to upgrade guides
2014-12-02 00:33:44 -05:00
Jose Diaz-Gonzalez
ad030b21d4
Merge pull request #796 from progrium/795-better-docs
...
795 better docs
2014-11-27 15:13:31 -05:00
Jose Diaz-Gonzalez
8c8f5e17f1
Tell users to change directory to dokku before running vagrant up. Refs #795
2014-11-27 15:10:33 -05:00
Jose Diaz-Gonzalez
e0b994c415
Standardize on dokku.me as the test hostname. Refs #795
2014-11-27 15:09:46 -05:00
Jose Diaz-Gonzalez
a12b1e2b56
Release 0.3.7
v0.3.7
2014-11-25 15:46:48 -05:00
Jose Diaz-Gonzalez
590c5fc017
Merge pull request #789 from mmerickel/fix.deploy-vhost
2014-11-25 15:44:19 -05:00
Michael Merickel
ee5c35dd9d
do not output message when creating ENV file
...
This fixes a bug introduced when deploying apps where the
nginx-vhosts plugin runs ``dokku config:get $APP NO_VHOST``. The initial
run of this actually was creating the ``ENV`` file and dumping to
stdout the value "NO_VHOST=-----> Creating /home/dokku/foo/ENV". This
was obviously no good because nginx-vhosts was considering this to be a
value of true.
I've modified this to simply not return anything when the value does not
exist. A better update may be to output the messages to stderr instead
of stdout.
2014-11-25 15:43:36 -05:00
Jose Diaz-Gonzalez
42a1363996
Merge pull request #788 from mmerickel/fix.apps-plugin
...
fix apps plugin issues in 0.3.6
2014-11-25 13:28:17 -05:00
Michael Merickel
4ae8cf8180
fix search for apps if DOKKU_ROOT is a symlink
2014-11-25 11:56:05 -06:00
Michael Merickel
aef3a68d2b
fix app plugin that was always searching for empty app name
2014-11-25 11:55:25 -06:00
Jose Diaz-Gonzalez
58ca13e838
Release 0.3.6
v0.3.6
2014-11-25 10:44:32 -05:00
Jose Diaz-Gonzalez
7c2f21fd2a
Merge pull request #782 from progrium/simplified-config
...
Simplified config
2014-11-24 13:17:27 -05:00
Jose Diaz-Gonzalez
887637fb6b
Merge pull request #785 from lsde/master
...
fix missing semicolon in nginx config
2014-11-24 10:33:26 -05:00