Skip to content

Instantly share code, notes, and snippets.

View tennantje's full-sized avatar
💭
I code for fun, and may be unable to respond in a timely manner.

Jeremy Tennant tennantje

💭
I code for fun, and may be unable to respond in a timely manner.
View GitHub Profile
@afternoon
afternoon / elb-sg-config.yaml
Created April 14, 2013 20:34
Security group and load balancer config file for Elastic Beanstalk. See http://tmblr.co/ZU9VxvibvDWI.
# vim: ft=yaml
# Elastic Load Balancer and Security Group configuration for the app
#
# - Allow anyone to connect to port 443 and office traffic to connect to
# port 22
# - Ensure all traffic is encrypted by configuring load balancer to listen on
# 443 and direct traffic to port 443 on app servers
# - Enable cookie-based session stickiness
# - Use /status for health check
# - Enable backend authentication policy by providing public key for cert
<string>(?:^\s+)?(&lt;)((?i:script))\b(?![^&gt;]*/&gt;)</string>
=>
<string>(?:^\s+)?(&lt;)((?i:script))\b(?!([^&gt;]*text/template[^&gt;]*|[^&gt;]*/>))</string>