{"action":"created","issue":{"url":"https://api.github.com/repos/ConnectWeather/WeatherDataApp/issues/5","repository_url":"https://api.github.com/repos/ConnectWeather/WeatherDataApp","labels_url":"https://api.github.com/repos/ConnectWeather/WeatherDataApp/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ConnectWeather/WeatherDataApp/issues/5/comments","events_url":"https://api.github.com/repos/ConnectWeather/WeatherDataApp/issues/5/events","html_url":"https://github.com/ConnectWeather/WeatherDataApp/issues/5","id":203125004,"number":5,"title":"Application environment","user":{"login":"koenhendriks","id":4124579,"avatar_url":"https://avatars.githubusercontent.com/u/4124579?v=3","gravatar_id":"","url":"https://api.github.com/users/koenhendriks","html_url":"https://github.com/koenhendriks","followers_url":"https://api.github.com/users/koenhendriks/followers","following_url":"https://api.github.com/users/koenhendriks/following{/other_user}","gists_url":"https://api.github.com/users/koenhendriks/gists{/gist_id}","starred_url":"https://api.github.com/users/koenhendriks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koenhendriks/subscriptions","organizations_url":"https://api.github.com/users/koenhendriks/orgs","repos_url":"https://api.github.com/users/koenhendriks/repos","events_url":"https://api.github.com/users/koenhendriks/events{/privacy}","received_events_url":"https://api.github.com/users/koenhendriks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-25T14:56:52Z","updated_at":"2017-01-25T15:07:58Z","closed_at":"2017-01-25T15:07:58Z","body":"The map application should have its own environment in the sense of a (sub)domain on the server to run the application in. "},"comment":{"url":"https://api.github.com/repos/ConnectWeather/WeatherDataApp/issues/comments/275132301","html_url":"https://github.com/ConnectWeather/WeatherDataApp/issues/5#issuecomment-275132301","issue_url":"https://api.github.com/repos/ConnectWeather/WeatherDataApp/issues/5","id":275132301,"user":{"login":"koenhendriks","id":4124579,"avatar_url":"https://avatars.githubusercontent.com/u/4124579?v=3","gravatar_id":"","url":"https://api.github.com/users/koenhendriks","html_url":"https://github.com/koenhendriks","followers_url":"https://api.github.com/users/koenhendriks/followers","following_url":"https://api.github.com/users/koenhendriks/following{/other_user}","gists_url":"https://api.github.com/users/koenhendriks/gists{/gist_id}","starred_url":"https://api.github.com/users/koenhendriks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koenhendriks/subscriptions","organizations_url":"https://api.github.com/users/koenhendriks/orgs","repos_url":"https://api.github.com/users/koenhendriks/repos","events_url":"https://api.github.com/users/koenhendriks/events{/privacy}","received_events_url":"https://api.github.com/users/koenhendriks/received_events","type":"User","site_admin":false},"created_at":"2017-01-25T15:07:58Z","updated_at":"2017-01-25T15:07:58Z","body":"The subdomain map.connectweather.nl has been created. \r\n\r\nI created a vhost for nginx to listen to this address. A custom document root has been set up to have an environment where the application can be developed.\r\n\r\nNginx vhost:\r\n```vhost\r\n# Map server configuration\r\n#\r\nserver {\r\n\tlisten 80;\r\n\tlisten [::]:80;\r\n\r\n\tserver_name map.connectweather.nl;\r\n\r\n\troot /var/www/map.connectweather.nl/public;\r\n\tindex index.html index.php;\r\n\r\n\tlocation ~ \\.php$ {\r\n\t\tinclude snippets/fastcgi-php.conf;\r\n\t\tfastcgi_pass unix:/var/run/php5-fpm.sock;\r\n\t}\r\n\r\n\tlocation ~ /.well-known {\r\n                allow all;\r\n        }\r\n\r\n\tlocation / {\r\n\t\ttry_files $uri $uri/ =404;\r\n\t}\r\n}\r\n```"}}
{"actor":{"display_login":"koenhendriks"}}