This repository was archived by the owner on Feb 7, 2024. It is now read-only.
Commit c499f5d
authored
Update Caddy example for Caddy v2
Caddy v2 greatly simplifies things for proxying websockets. The dumb rewrite hack is no longer necessary because request matchers handle it perfectly.
Caddy is _by far_ the simplest and easiest solution for proxying websockets like this.1 parent e9b85bb commit c499f5d
1 file changed
+7
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
285 | 284 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 285 | + | |
294 | 286 | | |
295 | 287 | | |
296 | 288 | | |
297 | | - | |
| 289 | + | |
0 commit comments