Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Nov 2, 2016
1 parent ebbbbcc commit 0a6999b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
@@ -1,14 +1,16 @@
# Web Server
# Vert.x 2.x is **deprecated** - use instead http://vertx.io/docs/vertx-web/java/#_serving_static_resources

## Web Server

This is a simple example web server which efficiently serves files from the file system.

It can also be configured to act as an event bus bridge - bridging the server side event bus to client side JavaScript.

## Name
### Name

The module name is `web-server`.

## Configuration
### Configuration

The web-server configuration is as follows:

Expand Down Expand Up @@ -51,19 +53,19 @@ The web-server configuration is as follows:
* `auth_address`. The bridge can also call an authorisation manager to do authorisation. This is the address to which it will send authorisation messages. Default value is `vertx.basicauthmanager.authorise`.


## Examples
### Examples

Here are some examples:

### Simple static file web server
#### Simple static file web server

This serves files from the web directory

{
"host": mycompany.com
}

### Simple https server
#### Simple https server

{
"host": mycompany.com,
Expand All @@ -72,7 +74,7 @@ This serves files from the web directory
"key_store_password": "sausages"
}

### Event bus bridge
#### Event bus bridge

Pure event bus bridge that doesn't serve static files

Expand Down

0 comments on commit 0a6999b

Please sign in to comment.