Skip to content

Instantly share code, notes, and snippets.

@vinzent
vinzent / gist:f4b39419254529d75936
Created January 7, 2015 13:35
apache http https redirect vhost conf
<VirtualHost *:80>
ServerName phabricator.my.domain
## Vhost docroot
DocumentRoot "/opt/phacility/phabricator/webroot"
<Directory "/opt/phacility/phabricator/webroot">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
@vinzent
vinzent / local_puppet_passenger.te
Last active August 29, 2015 14:08
SELinux, Puppet (PupetLabs Open-Source) and Passenger (EPEL) on RHEL6
# Environment: RHEL6 with Passenger from EPEL and Puppet Open-source from yum.puppetlabs.com
# Howto compile:
# yum install checkpolicy
# checkmodule -M -m -o local_puppet_passenger.mod local_puppet_passenger.te &&
# semodule_package -o local_puppet_passenger.pp -m local_puppet_passenger.mod &&
# semodule --install local_puppet_passenger.pp
module local_puppet_passenger 2.17;