summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgiraffe <julescarbon@gmail.com>2017-08-27 20:29:04 +0000
committergiraffe <julescarbon@gmail.com>2017-08-27 20:29:04 +0000
commit62bddfba67a4beef94a485bf2509c4ccd4932f40 (patch)
tree04be680962a8a2d09a05760126bcbfb40cc89193
parentabde52576caf6632633652c452fcf67f7596888b (diff)
db
-rw-r--r--db.json32
-rw-r--r--folkestone.giraffe.life19
2 files changed, 35 insertions, 16 deletions
diff --git a/db.json b/db.json
index af7fbfe..f295601 100644
--- a/db.json
+++ b/db.json
@@ -1,33 +1,33 @@
{
"entry": [
{
- "id": "story-1",
- "title": "Story #1",
- "date": "2017.08.18",
- "tags": "#gossip #folkestone #chat #chatting",
- "body": "Someone ordered 200 pizzas to the Folkestone airport. Nobody knows who it was! Air traffic control was forced to ground all planes in the area in order to hold an impromptu pizza party so none of the pizza is wasted. Still, it is a mystery...",
+ "id": "how-to-catch-a-riffraff-",
+ "title": "How to catch a riffraff!",
+ "date": "2017.08.26",
+ "tags": "#rifraff #youngboys #police #grass #1930s",
+ "body": "David Simpson, a Folkestone local born in the 1920 has agreed to explain to us what the local politics involving local grass were back in the day!",
"gallery": false,
"disabled": false,
"__index": 0,
"dateCreated": "Fri, 18 Aug 2017 21:05:58 GMT",
"media": [
{
+ "uri": "https://marsupial.s3.amazonaws.com/folkestone/f24a93e0-8b39-11e7-ad44-cbee73b467bc.png",
+ "width": "800",
+ "height": "480",
+ "caption": "Plaque on the fence at the end of the Leas",
+ "type": "image"
+ },
+ {
"type": "youtube",
- "token": "L6rp9JV4YmI",
+ "token": "vl_zTjfrJ8k",
"uri": "",
"width": "640",
"height": "360",
- "title": "Ice water",
- "thumb": "http://i.ytimg.com/vi/L6rp9JV4YmI/hqdefault.jpg",
- "autoplay": "true",
+ "title": "How to spot a riffraff",
+ "thumb": "http://i.ytimg.com/vi/vl_zTjfrJ8k/hqdefault.jpg",
+ "autoplay": "false",
"loop": "false"
- },
- {
- "uri": "https://marsupial.s3.amazonaws.com/folkestone/2b3fd230-845c-11e7-a8c9-a30c2f9d00ca.jpg",
- "width": "2296",
- "height": "2296",
- "caption": "",
- "type": "image"
}
]
},
diff --git a/folkestone.giraffe.life b/folkestone.giraffe.life
new file mode 100644
index 0000000..b49892c
--- /dev/null
+++ b/folkestone.giraffe.life
@@ -0,0 +1,19 @@
+
+upstream folkestone_cms {
+ server 127.0.0.1:20102;
+}
+
+server {
+ listen 80;
+ server_name folkestone.giraffe.life howtomakeafolkestone.life;
+ client_max_body_size 50M;
+
+ location / {
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header Host $http_host;
+ proxy_set_header X-NginX-Proxy true;
+ proxy_pass http://folkestone_cms;
+ proxy_redirect off;
+ }
+}