From 62bddfba67a4beef94a485bf2509c4ccd4932f40 Mon Sep 17 00:00:00 2001 From: giraffe Date: Sun, 27 Aug 2017 20:29:04 +0000 Subject: db --- db.json | 32 ++++++++++++++++---------------- folkestone.giraffe.life | 19 +++++++++++++++++++ 2 files changed, 35 insertions(+), 16 deletions(-) create mode 100644 folkestone.giraffe.life 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; + } +} -- cgit v1.2.3-70-g09d2