Skip to content
Browse files

Added contrib folder and docs on running behind nginx.

Signed-off-by: matueranet <>
  • Loading branch information...
matueranet authored and alexellis committed Sep 21, 2019
1 parent d8db8b7 commit e57224136c3ea62e3089111cda952db8b63d367c
Showing with 23 additions and 0 deletions.
  1. +23 −0 contrib/
@@ -0,0 +1,23 @@
### Run behind nginx

If you already have an existing nginx webserver running, you can proxy your inlets server through nginx. Simply create a new site configuration file. This example assumes inlets is running port 8000, the default port, but you can use any port number you'd like via `--port=` when starting the server:

server {
listen 80;
# Replace * with your own wildcard domain.
server_name *;
#Inlets proxy
location / {
proxy_http_version 1.1;
proxy_read_timeout 120s;
proxy_connect_timeout 120s;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
You can even secure your connection with SSL via your own certificate, or via Letsencrypt!

0 comments on commit e572241

Please sign in to comment.
You can’t perform that action at this time.