Skip to content

Commit

Permalink
Update README.md with info about reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen authored Aug 18, 2023
1 parent 67488a4 commit 3b55f86
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,22 @@ Please report any bugs or issues [Here](https://github.com/James-Frowen/SimpleWe

This transport supports the wss protocol which is required for https pages.

## How to create and setup an SSL Cert
## Reverse proxy

Using a reverse proxy for SSL is generally more efficient than implementing SSL directly within Unity or other game servers, as the proxy can specialize in handling encryption, freeing up the game server to focus on delivering smooth gameplay.

To use reverse proxy with Mirror see this page [Mirror/README.md](https://github.com/James-Frowen/SimpleWebTransport/blob/master/Mirror/README.md)

#### Nginx

Nginx is a popular reverse proxy thaat is easy to set up, and also has the ability to host WebGL files making it easy to set up development server. For a short guide on Nginx see this page: [NginxConfig](https://github.com/James-Frowen/SimpleWebTransport/tree/master/NginxConfig)

#### Other reverse proxies

The [Mirror docs](https://mirror-networking.gitbook.io/docs/manual/transports/websockets-transport/reverse-proxy) explains how to set up some othher revierse proxies,


## (not recommended) How to create and setup an SSL Cert

If you host your webgl build on a https domain you will need to use wss which will require a ssl cert.

Expand Down

0 comments on commit 3b55f86

Please sign in to comment.