1 |
andrew.betts |
3 |
###################################################################### |
2 |
|
|
# meteord sample configuratiuon file |
3 |
|
|
# |
4 |
|
|
# You may need to change or add settings in here to get Meteor to do |
5 |
|
|
# what you need on your particular system. See the following page |
6 |
|
|
# in the documentation for full details of all available configuration |
7 |
|
|
# parameters: |
8 |
|
|
# |
9 |
|
|
# http://www.meteorserver.org/server-docs/ |
10 |
|
|
# |
11 |
|
|
###################################################################### |
12 |
|
|
|
13 |
|
|
|
14 |
|
|
# Header template: ~server~, ~timestamp~ and ~status~ will be replaced by |
15 |
|
|
# the appropriate values |
16 |
|
|
# |
17 |
|
|
# The value of HeaderTemplate is reproduced from the default value - it's |
18 |
|
|
# included here for completeness because we've added a HeaderTemplate2 |
19 |
|
|
# (below). HeaderTemplate is designed for use with 'forever frame' |
20 |
|
|
# connections in Microsoft Internet Explorer. HeaderTemplate2 is not |
21 |
|
|
# intended to ever be evaluated as HTML, and therefore is much shorter - it |
22 |
|
|
# is used with the XMLHTTPRequest object. If you are using Meteor with a |
23 |
|
|
# non-browser-based client, there may be no need for a header template at |
24 |
|
|
# all. |
25 |
|
|
|
26 |
|
|
HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n<meta http-equiv="Cache-Control" content="no-store">\r\n<meta http-equiv="Cache-Control" content="no-cache">\r\n<meta http-equiv="Pragma" content="no-cache">\r\n<meta http-equiv="Expires" content="Thu, 1 Jan 1970 00:00:00 GMT">\r\n<script type="text/javascript">\r\nwindow.onError = null;\r\nvar domainparts = document.domain.split(".");\r\ndocument.domain = domainparts[domainparts.length-2]+"."+domainparts[domainparts.length-1];\r\nparent.Meteor.register(this);\r\nparent.Meteor.setServerTime(~servertime~);\r\n</script>\r\n</head>\r\n<body onload="r()">\r\n |
27 |
|
|
|
28 |
|
|
HeaderTemplate2 HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\nparent.Meteor.setServerTime(~servertime~);\r\n |
29 |
|
|
|
30 |
|
|
|
31 |
|
|
# Setting a maximum time limit on streaming connections will help prevent |
32 |
|
|
# zombies from hanging around forever. |
33 |
|
|
|
34 |
|
|
MaxTime 180 |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
# Here PingMessage is the default, but we've adjusted the PingInterval to |
38 |
|
|
# reduce it from the default 5 seconds to 3 seconds. |
39 |
|
|
|
40 |
|
|
PingMessage <script>p(-1,"");</script>\r\n |
41 |
|
|
PingInterval 3 |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
# There are many other config parameters that you can set - see the |
45 |
|
|
# docs for more details. |