You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup/server/reverseProxy.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,17 @@
1
1
# Reverse Proxy
2
2
3
+
## Caddy
4
+
5
+
Caddy is a powerful and simple reverse proxy/webserver solution. Caddy will automatically manage HTTPS certs for any URL it is configured to serve.
6
+
7
+
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.**
8
+
9
+
```
10
+
spacebar.example.xyz {
11
+
reverse_proxy 10.0.0.99:3001
12
+
}
13
+
```
14
+
3
15
## NGINX
4
16
5
17
Generally, our community sets up {{ project.name }} instances behind NGINX, a powerful reverse proxy.
0 commit comments