Skip to content

Instantly share code, notes, and snippets.

@mjinks
Last active January 7, 2016 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjinks/929a616bbf0fdefaaa21 to your computer and use it in GitHub Desktop.
Save mjinks/929a616bbf0fdefaaa21 to your computer and use it in GitHub Desktop.
all i want to do is assign a string
config_my_site:
file.managed:
- name: /etc/apache2/sites-available/my-site-8181
- template: jinja
- source: salt://animate-web-2/templates/my-site-8181-virtual.tmpl
[ something else must go here ]
- watch_in:
- service: apache2
web_fronts:
here.foo.com:
app-server: this.tomcat.int
app-port: 8080
there.foo.com:
app-server: that.tomcat.int
app-port: 8080
[...]
ProxyRequests off
ProxyPreserveHost on
ProxyPass /api http://{{ app-server }}:{{ app-port }}/animateapi
oroxyPassReverseCookieDomain /api http://{{ app-server }}:{{ app-port }}/$
ProxyPassReverseCookiePath /animateapi /api
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment