IRC logs for #aegir, 2016-05-17 (GMT)

2016-05-16
2016-05-18
TimeNickMessage
[10:02:22]* cweagans has quit (Quit: Computer has gone to sleep)
[10:04:14]* cweagans has joined #aegir
[10:22:29]* cweagans has quit (Quit: Computer has gone to sleep)
[10:22:54]* inteja_ has joined #aegir
[10:25:43]* maestrojed has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[10:26:19]* inteja__ has quit (Ping timeout: 252 seconds)
[10:36:25]* TommyCox has quit (Remote host closed the connection)
[10:37:00]* TommyCox has joined #aegir
[10:41:40]* TommyCox has quit (Ping timeout: 260 seconds)
[10:46:35]* maestrojed has joined #aegir
[11:05:16]* zombiebeard has joined #aegir
[11:06:00]* ceaucari has joined #aegir
[11:15:51]* mstenta has quit (Ping timeout: 250 seconds)
[11:27:42]* cweagans has joined #aegir
[12:15:19]* cweagans has quit (Quit: Leaving)
[12:23:28]* zombiebeard has quit (Ping timeout: 252 seconds)
[12:28:23]* zombiebeard has joined #aegir
[12:36:40]* Yaazkal has quit ()
[12:43:41]* ceaucari has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[12:56:17]* zombiebeard has quit (Quit: zombiebeard)
[13:23:36]* inteja_ has quit (Ping timeout: 246 seconds)
[13:27:23]* Egyptian[Home] has quit (Quit: Leaving.)
[13:46:38]* anarcat has quit (Quit: leaving)
[13:49:21]* anarcat has joined #aegir
[13:59:41]* gusaus has quit (Quit: gusaus)
[14:05:48]* ceaucari has joined #aegir
[14:16:14]* gusaus has joined #aegir
[14:16:34]* gusaus has quit (Client Quit)
[15:24:48]* inteja_ has joined #aegir
[15:30:22]* TommyCox has joined #aegir
[15:40:06]* TommyCox has quit (Remote host closed the connection)
[15:40:22]* TommyCox has joined #aegir
[15:43:03]* ceaucari has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[15:49:00]* TommyCox has quit (Remote host closed the connection)
[16:14:15]* boshtian has joined #aegir
[16:35:18]* kristofferw has joined #aegir
[16:35:33]* kristofferw has quit (Client Quit)
[16:37:50]* maestrojed has quit (Quit: Textual IRC Client: www.textualapp.com)
[16:37:54]* kristofferw has joined #aegir
[17:12:21]* ybabel has joined #aegir
[17:12:52]* boshtian has quit (Quit: boshtian)
[17:21:49]* rominronin has joined #aegir
[17:33:24]* inteja_ has quit (Ping timeout: 260 seconds)
[18:36:35]* TommyCox has joined #aegir
[18:44:02]* gandhiano has joined #aegir
[19:31:30]* TommyCox has quit (Remote host closed the connection)
[19:32:05]* TommyCox has joined #aegir
[19:36:20]* TommyCox has quit (Ping timeout: 250 seconds)
[20:18:57]* ybabel has quit (Quit: ybabel)
[20:46:36]* Egyptian[Home] has joined #aegir
[21:16:28]* noecc has joined #aegir
[21:16:55]* Egyptian[Home] has quit (Quit: Leaving.)
[21:19:04]* gandhiano has quit (Ping timeout: 240 seconds)
[21:28:14]* zombiebeard has joined #aegir
[21:58:10]* beautifulmind has joined #aegir
[22:04:20]* zombiebeard has quit (Quit: zombiebeard)
[22:17:51]* beautifulmind has quit (Read error: Connection reset by peer)
[22:44:38]* mstenta has joined #aegir
[23:07:07]* zombiebeard has joined #aegir
[23:13:38]* ybabel has joined #aegir
[23:23:44]* Yaazkal has joined #aegir
[23:37:46]* hestenet has joined #aegir
[00:03:45]* Yaazkal has quit (Ping timeout: 246 seconds)
[00:06:50]* hestenet has quit (Remote host closed the connection)
[00:19:54]* ybabel has quit (Quit: ybabel)
[00:20:20]* gandhiano has joined #aegir
[00:40:00]* Yaazkal has joined #aegir
[00:52:37]* ybabel has joined #aegir
[01:09:29]* rominronin has quit (Remote host closed the connection)
[01:18:52]* Yaazkal has quit ()
[02:11:41]* maestrojed has joined #aegir
[02:17:20]* gandhiano has quit (Ping timeout: 260 seconds)
[02:36:31]* ceaucari has joined #aegir
[03:10:07]* rominronin has joined #aegir
[03:15:34]* rominronin has quit (Ping timeout: 260 seconds)
[04:10:34]* rominronin has joined #aegir
[04:11:04]* zombiebeard has quit (Quit: zombiebeard)
[04:15:11]* rominronin has quit (Ping timeout: 244 seconds)
[04:25:13]* zombiebeard has joined #aegir
[04:29:08]* Yaazkal has joined #aegir
[04:48:01]* ybabel has quit (Quit: ybabel)
[04:58:06]* TommyCox has joined #aegir
[05:02:15]* ceaucari has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[05:03:32]* gusaus has joined #aegir
[05:05:17]* ceaucari has joined #aegir
[05:08:58]* TommyCox has quit (Remote host closed the connection)
[05:09:34]* TommyCox has joined #aegir
[05:11:20]* rominronin has joined #aegir
[05:14:12]* TommyCox has quit (Ping timeout: 260 seconds)
[05:16:54]* rominronin has quit (Ping timeout: 276 seconds)
[05:30:51]* noecc has left #aegir ("pax")
[05:46:22]* shaneonabike1 has joined #aegir
[05:51:12]* gandhiano has joined #aegir
[06:12:14]* millenniumtree has joined #aegir
[06:12:25]* rominronin has joined #aegir
[06:13:26]<millenniumtree>Having a heck of a time with domain redirection in Aegir 3.4
[06:13:55]<millenniumtree>I'd like to add custom redirection rules to specific domains. We're using nginx.
[06:15:11]<millenniumtree>I'd like to add a redirect from all pages accessed on domain1.com to a specific page on another domain (domain2.com/path)
[06:18:39]* rominronin has quit (Ping timeout: 244 seconds)
[06:20:04]* mstenta has quit (Ping timeout: 240 seconds)
[06:22:47]* ceaucari has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[06:23:15]<gboudrias>millenniumtree: There's no builtin way to do that as far as I know, but you can probably edit your platform's .htaccess to do this
[06:23:29]<millenniumtree>no .htaccess - we're using nginx
[06:23:34]<gboudrias>Right, sorry
[06:24:07]<millenniumtree>so somehow I have to stuff the rewrites into the nginx confs. I can get what I need into the files, but a verify blows it away.
[06:24:30]<gboudrias>millenniumtree: Yeah you can implement a post_hosting_verify hook
[06:24:32]<millenniumtree>is there a global include that wont get overwritten that I can put custom server {} blocks into?
[06:24:55]<millenniumtree>oh? post_hosting_verify can modify the nginx conf?
[06:25:35]<gboudrias>millenniumtree: I think so, or post_provision_verify can for sure
[06:25:55]<gboudrias>But is slightly more complex to implement
[06:26:15]<gboudrias>millenniumtree: But there's also post.d
[06:27:11]* TommyCox has joined #aegir
[06:27:20]<gboudrias>(Or there is with Apache, I don't know about nginx but I assume we implement it also)
[06:28:19]<millenniumtree>Ok, what type of files go into post.d? thinly documented. :P
[06:28:58]<millenniumtree>looks like nginx .conf files?
[06:30:12]<gboudrias>just a sec I'll try to check
[06:31:11]* mstenta has joined #aegir
[06:35:05]<gboudrias>millenniumtree: yeah it's pretty much just an include, see /usr/share/drush/commands/provision/http/Provision/Config/Nginx/vhost.tpl.php
[06:35:15]<gboudrias>At the very bottom: print " include " . $if_subsite . "/*.conf;\n";
[06:37:32]<millenniumtree>@gboudrias The issue I was having was with "redirection" off, but SSL required, then trying to go to non-ssl secondary sites (not the primary domain), resulted in a redirect to http:///
[06:37:55]<millenniumtree>If redirect to primary AND ssl required are both on, everything is peachy.
[06:38:28]<millenniumtree>So I'm going to remove the secondary domains from the alias list, turn redirection on and require SSL - I know those work.
[06:38:42]<millenniumtree>Then try to put some custom server{} blocks in a post.d file.
[06:38:46]<millenniumtree>*crosses fingers*
[06:38:53]<gboudrias>millenniumtree: Sounds like a bug, but then again SSL would logically require redirection (since that's what it does on "SSL required")
[06:39:21]<millenniumtree>Yeah, I definitely do think it's a bug, but in the meantime I need it to work. :)
[06:39:46]<gboudrias>millenniumtree: The docs on docs.aegirproject.org are on github and could really use some more info on this if you can help :)
[06:40:04]<gboudrias>They're generated from github
[06:40:32]<millenniumtree>Basically I have a sub.domain1.com as the primary, then a domain2.com and www.domain2.com as aliases.
[06:40:55]<millenniumtree>We need domain2.com and www.domain2.com to redirect to sub.domain1.com/specific-page
[06:41:17]<millenniumtree>if you go to http://domain2.com or http://www.domain2.com, you get redirected to http:///
[06:42:13]<millenniumtree>I have a module that is supposed to do the actual domain-to-page redirect, but it wasn't getting to drupal, just that broken http:///
[06:42:36]<gboudrias>millenniumtree: Yeah but I meant the post.d stuff mostly, right now it's very Apache-centric
[06:42:51]<millenniumtree>yep. I'm going to try it right now.
[06:43:01]<gboudrias>millenniumtree: http://docs.aegirproject.org/en/3.x/extend/altering-behaviours/#injectin...
[06:43:47]* TommyCox has quit (Remote host closed the connection)
[06:44:19]* TommyCox has joined #aegir
[06:44:47]<millenniumtree>Yeah, I was up and down that page a bunch... I got it to insert a few lines into an existing server{} block, but I needed some rules to fire on specific domains, so that didn't work out.
[06:49:10]* TommyCox has quit (Ping timeout: 260 seconds)
[06:49:28]<millenniumtree>WORKS
[06:51:43]<millenniumtree>I removed the aliases for *.domain2.com in aegir, and wrote this into the config/server_master/nginx/post.d/domain1.conf file...
[06:51:59]<millenniumtree>server { listen *:443; server_name domain2.com www.domain2.com; ssl on; ssl_certificate /var/aegir/config/server_master/ssl.d/domain1.com/openssl.crt; ssl_certificate_key /var/aegir/config/server_master/ssl.d/domain1.com/openssl.key; access_log off; rewrite ^ https://domain1.com/specific-page? permanent; } server { listen *:80; server_name domain2.com
[06:52:19]<millenniumtree>hey that's not pretty, but you get the point.
[06:53:05]<millenniumtree>Thanks for your help!
[06:54:21]* shaneonabike1 has quit (Remote host closed the connection)
[07:00:04]<gboudrias>millenniumtree: No problem, feel free to email me at gboudrias@praxis.coop if you want me to try and get something into the docs :)
[07:00:23]<gboudrias>(I also watch the pull request queue)
[07:03:59]* ceaucari has joined #aegir
[07:14:50]* rominronin has joined #aegir
[07:19:59]* rominronin has quit (Ping timeout: 260 seconds)
[07:45:23]* zombiebeard has quit (Read error: Connection reset by peer)
[08:15:56]* rominronin has joined #aegir
[08:19:02]* p_stampy has quit (Ping timeout: 244 seconds)
[08:21:27]* rominronin has quit (Ping timeout: 260 seconds)
[08:23:33]* p_stampy has joined #aegir
[08:34:26]* inteja_ has joined #aegir
[08:47:03]* mengi has quit (Ping timeout: 240 seconds)
[08:56:25]* mengi has joined #aegir
[09:01:51]* Egyptian[Home] has joined #aegir
[09:05:42]* realityloop has joined #aegir
[09:09:35]* gusaus has quit (Quit: gusaus)
[09:11:01]* gandhiano has quit (Ping timeout: 250 seconds)
[09:12:50]<realityloop>ergonlogic: ping?
[09:13:39]<realityloop>helmo: ping
[09:13:41]* maestrojed has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[09:14:48]<realityloop>@anarcat ping
[09:15:16]* Egyptian[Home] has quit (Ping timeout: 252 seconds)
[09:15:42]<realityloop>I'm in the process of writing a script to install aegir on RHEL7 (happy ton contribute it back once it's working) and getting an error on hostmaster install step..
[09:17:03]* rominronin has joined #aegir
[09:22:04]* rominronin has quit (Ping timeout: 244 seconds)
[09:50:46]* gusaus has joined #aegir