Last active
January 7, 2016 07:24
-
-
Save mjinks/929a616bbf0fdefaaa21 to your computer and use it in GitHub Desktop.
all i want to do is assign a string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web_fronts: | |
here.foo.com: | |
app-server: this.tomcat.int | |
app-port: 8080 | |
there.foo.com: | |
app-server: that.tomcat.int | |
app-port: 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...] | |
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