356 reputation
14
bio website
location
age
visits member for 3 years, 5 months
seen Aug 18 at 13:18

May
14
comment HAProxy, health checking multiple servers with different host names
You are right, the httpchk requires the Host header in the heroku example, and there isn't any workaround for it. Dropping the check directive would let the proxy work as intended, but you wouldn't be able to detect in advance a failure.
Jan
28
comment Cannot curl a file host through apache2
What do the logs say for the requests that you do using curl?
Jan
28
comment Cannot curl a file host through apache2
the path /var/www/sample.text tells me that instead of your virtualhost, the default site is being used. Try adding the "ServerName my-share" directive to force your virtualhost to be used.
Jan
20
comment fabric how to define complex env.hosts
I added an example for case2 on the original answer. You basically just have to pass all the roles to the -R flag. For case3, I'm afraid that you will need to either pass all the hostnames to the -H flag, or rethink how you want to structure your role definitions.
Jan
15
comment fabric how to define complex env.hosts
I edited the answer and added the full contents of the fabfile. I tested it with Fabric 1.8.1 and Paramiko 1.12.1.
Dec
5
comment FreeBSD how to rebuild all p5-* Perl 5 ports
There is a section in the handbook explaining how to use the portmaster/portupgrade tools with ports: freebsd.org/doc/handbook/ports-using.html. Keep in mind that you shouldn't use both portmaster and portupgrade at the same time (though it is possible with some extra work). Given that you are using pcbsd, you can install mono and fsharp from the package manager without any manual compilation. Running sudo pkg install fsharp should take care of the dependencies for you too. You can get more info about pkgng at freebsd.org/doc/handbook/pkgng-intro.html.
Dec
4
comment Setup Subdomain On Amazon Ec2
Regarding nginx, if you don't change the listen port then no, you can just reload the configuration. service nginx reload will do in most Linux systems. Regarding python and Django, I guess that it will be running behind a different gunicorn/uwsgi process, so you just have to direct the proxy_pass statement to the correct django instance.