forked from fw42/honeymap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request fw42#5 from heipei/coffeescript_rewrite
package.json for easy management of dependencies
- Loading branch information
Showing
5 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
*.swp | ||
README.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This is a sample configuration for serving static assets through nginx while | ||
# proxying socket.io requests to the node backend. | ||
|
||
map $http_upgrade $connection_upgrade { | ||
default upgrade; | ||
'' close; | ||
} | ||
|
||
server { | ||
listen 80; | ||
|
||
root /usr/share/nginx/www/client; | ||
index index.html index.htm; | ||
|
||
server_name map.honeycloud.net; | ||
|
||
location / { | ||
try_files $uri $uri/ /index.html; | ||
} | ||
|
||
location /socket.io/ { | ||
proxy_pass http://localhost:3000; | ||
proxy_http_version 1.1; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection $connection_upgrade; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
js | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "HoneyMap", | ||
"preferGlobal": true, | ||
"version": "0.0.1", | ||
"author": "Mark Schloesser <ms@mwcollect.org>", | ||
"description": "a real-time world map which visualizes attacks captured by honeypots of the Honeynet Project", | ||
"contributors": [ | ||
{ | ||
"name": "Marak Schloesser", | ||
"email": "ms@mwcollect.org" | ||
}, | ||
{ | ||
"name": "Florian Weingarten", | ||
"email": "flo@hackvalue.de" | ||
}, | ||
{ | ||
"name": "Johannes Gilger", | ||
"email": "heipei@heipei.net" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/fw42/honeymap.git" | ||
}, | ||
"keywords": [ | ||
"http", | ||
"server" | ||
], | ||
"dependencies" : { | ||
"coffee-script" : "*", | ||
"node-static" : "0.6.9", | ||
"socket.io" : "0.9.14", | ||
"validator" : "1.1.1" | ||
}, | ||
"license": "LGPL", | ||
"engines": { | ||
"node": ">=0.10" | ||
} | ||
} |