Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/setup/server/reverseProxy.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Reverse Proxy

## Caddy

Caddy is a powerful and simple reverse proxy/webserver solution. Caddy will automatically manage HTTPS certs for any URL it is configured to serve.

To set up Spacebar behind Caddy, simply add `reverse_proxy IP_TO_SPACEBAR_INSTANCE:3001` to your Caddyfile. **Remember to adjust your Spacebar configuration to use the external address on all public endpoints otherwise you will have CORS issues.**

```
spacebar.example.xyz {
reverse_proxy 10.0.0.99:3001
}
```

## NGINX

Generally, our community sets up {{ project.name }} instances behind NGINX, a powerful reverse proxy.
Expand Down