We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7987049 commit a598602Copy full SHA for a598602
cloud-formation/basic-tomcat-instance.json
@@ -69,6 +69,23 @@
69
"httpd": []
70
}
71
72
+ },
73
+
74
+ "files" : {
75
+ "/var/www/html/index.html": {
76
+ "content": {
77
+ "Fn::Join": [
78
+ "\n",
79
+ [
80
+ "<h1>Hello world :)</h1>",
81
+ "<p>Example file served by Apache</p>"
82
+ ]
83
84
85
+ "mode": "000644",
86
+ "owner": "root",
87
+ "group": "root"
88
+ }
89
90
91
},
@@ -140,7 +157,7 @@
140
157
"chkconfig --level 345 httpd on\n",
141
158
142
159
"# Proxy all requests to Tomcat\n",
143
- "echo \"ProxyPass / ajp://localhost:8009/\" >> /etc/httpd/conf/httpd.conf\n",
160
+ "echo \"ProxyPass /tomcat ajp://localhost:8009/\" >> /etc/httpd/conf/httpd.conf\n",
144
161
145
162
"# Start servers\n",
146
163
"service tomcat7 start\n",
0 commit comments