Girish Ramakrishnan
c8a04f8707
remove code that stops nginx
2016-10-24 14:41:26 -07:00
Johannes
595787a898
Add missing 'then'
2016-10-24 16:46:14 +02:00
Girish Ramakrishnan
86a31b8f5a
start nginx properly
2016-10-21 16:43:40 -07:00
Girish Ramakrishnan
1244a73a19
run the install web ui on port 80
2016-10-21 16:04:08 -07:00
Johannes Zellner
723c7307d2
Set default provider to generic
2016-10-21 10:28:40 -07:00
Johannes Zellner
db55a7ad3c
Create fallback cert if not passed in via user data
2016-10-21 10:28:22 -07:00
Johannes Zellner
09b4325ecc
Set some more fallbacks in argparser.sh
2016-10-21 10:26:32 -07:00
Johannes Zellner
66999f7454
custom domain is actually the default by now
2016-10-21 10:25:33 -07:00
Johannes Zellner
f05a5226ba
Add new sudo file rmbackup.sh as backups are owned by root currently
2016-10-10 16:25:43 +02:00
Girish Ramakrishnan
219bd69e63
parse and save isDemo provision parameter
2016-08-31 22:03:46 -07:00
Girish Ramakrishnan
3ba5bd836b
use cloudron.conf to determine if this is an update
...
see also d60b386bca
2016-08-25 10:32:58 -07:00
Girish Ramakrishnan
b932a9be10
Set X-Forwarded-Ssl to on
...
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#supporting-proxied-ssl
http://stackoverflow.com/questions/16042647/whats-the-de-facto-standard-for-a-reverse-proxy-to-tell-the-backend-ssl-is-used
2016-08-17 17:46:36 -07:00
Girish Ramakrishnan
3bd9fcae6a
fix dkim dir perms
2016-08-13 00:23:07 -07:00
Girish Ramakrishnan
020ad746a0
change ownership of box directory
2016-08-12 23:55:20 -07:00
Girish Ramakrishnan
b049989eb1
do not change ownership of mail data when updating cloudron
...
the mail container is still running and changing the ownership behind it's
back causes the mail container to be very upset.
2016-08-12 23:36:41 -07:00
Johannes Zellner
8702b4320d
Wait for all mysql jobs to be finished
2016-08-04 14:06:52 +02:00
Johannes Zellner
6b4675cca1
Remove the ec2 swappiness setting
...
This revealed mixed results, overall the burstmode ec2
instances are simply a bit underpowered
2016-08-04 10:56:26 +02:00
Girish Ramakrishnan
42fda25718
use systemctl instead of upstart service
2016-08-02 18:45:20 -07:00
Johannes Zellner
867e875707
Revert "Add basic 404 page"
...
This reverts commit 3793220dd48356d5fe421312915a8392fcccca0e.
2016-07-27 19:09:43 +02:00
Johannes Zellner
dcdca52dbd
Add basic 404 page
2016-07-27 17:52:54 +02:00
Girish Ramakrishnan
b628e2a6c8
add hack for mysql server on ec2
2016-07-27 00:15:08 -07:00
Johannes Zellner
82e8c8cef2
Only adjust swapiness for ec2
...
On DO the disk I/O seems to be much better so this is not required
2016-07-17 18:54:27 +02:00
Johannes Zellner
3300c6b47a
Make the system use swap only when needed
...
The default swappiness is 60 on ubuntu. This sets the tendency
to swap out memory pages to be more frequent, which in our case
means swapping out to networked disks and increase the cpu load
a lot, which is especially bad on EC2
2016-07-15 14:07:02 +02:00
Johannes Zellner
3331d1aa13
Ensure the X-Frame-Options header has a single string argument
2016-07-15 11:26:05 +02:00
Johannes Zellner
66049a9e2d
Support x-frame-options in appconfig.ejs template
2016-07-14 16:28:59 +02:00
Girish Ramakrishnan
44e7d87aac
setup apiServerOrigin for splash page
2016-07-06 16:26:26 -05:00
Girish Ramakrishnan
dc78aab821
remove quoting of the json
2016-07-05 22:50:54 -05:00
Girish Ramakrishnan
9b4a400694
typo
2016-07-05 22:34:51 -05:00
Girish Ramakrishnan
2d01f2a0e9
pass migrate reason all the way to splash code
2016-07-05 22:04:24 -05:00
Johannes Zellner
e422357670
Set the correct hostname in start.sh
2016-07-04 10:41:54 +02:00
Girish Ramakrishnan
9315e7eb65
read all params individually
2016-07-01 15:27:36 -05:00
Johannes Zellner
9182038d12
Revert "Do not wait for cloudron.target to stop"
...
This reverts commit dcfe2e4fdbcbd2acb98cefe9b50ef0bb1828eb48.
2016-06-30 15:01:32 +02:00
Johannes Zellner
14983861c0
Do not wait for cloudron.target to stop
...
This will allow the box code to respond properly to the retire request
2016-06-30 10:52:50 +02:00
Girish Ramakrishnan
9c8166a2b8
Add some time information
2016-06-29 23:37:39 -05:00
Girish Ramakrishnan
77bd5bfcbe
pass retire reason
2016-06-29 23:24:00 -05:00
Johannes Zellner
ce116e56bf
Remove webdav specific headers
...
This is not actually doing anything in that directive
2016-06-22 16:06:11 +02:00
Girish Ramakrishnan
f15f3c9052
node-ify setup_infra.sh
2016-06-15 05:26:40 -07:00
Johannes Zellner
a37f87511b
Prevent clickjacking by sending X-Frame-Options
2016-06-15 13:10:26 +02:00
Girish Ramakrishnan
dc31946e50
move webdav block outside location
...
when inside location, nginx is redirecting to 127.0.0.1 (no clue why)
2016-06-11 12:05:16 -07:00
Johannes Zellner
0160c12965
Allow to distinguish between built-in auth clients and external ones
2016-06-09 15:35:00 +02:00
Johannes Zellner
4776a005a5
Remove redundant client TYPE_*s
2016-06-08 14:09:06 +02:00
Johannes Zellner
a69cd204d6
Handle sdk and cli clients just like the webadmin
2016-06-08 11:33:08 +02:00
Johannes Zellner
2676658b5d
Add auth client cid-sdk and cid-cli
2016-06-08 11:20:06 +02:00
Johannes Zellner
a0227b6043
Remove now unused localhost test client
...
We can now simply use the regular APIs to do local development against a Cloudron
2016-06-07 16:03:50 +02:00
Girish Ramakrishnan
b077223e58
fix scope name
2016-06-02 17:49:54 -07:00
Johannes Zellner
d06398dbfd
Move webdav nginx fixes into app endpoint
...
Not sure if this will now still work with oauth proxy though.
2016-06-02 09:49:01 +02:00
Girish Ramakrishnan
dfa08469d6
set timeouts explicitly
2016-06-01 17:33:28 -07:00
Girish Ramakrishnan
d798073d95
fix comment of default_server
2016-06-01 17:28:15 -07:00
Girish Ramakrishnan
41632b8c11
fix favicon of naked domain
2016-06-01 17:27:39 -07:00
Girish Ramakrishnan
eb29bdd575
document keepalive_timeout
2016-06-01 16:51:52 -07:00