max / makenotwork
1 file changed,
+4 insertions,
-0 deletions
| @@ -30,6 +30,10 @@ | |||
| 30 | 30 | makenot.work { | |
| 31 | 31 | import cloudflare_tls | |
| 32 | 32 | ||
| 33 | + | # Block internal API from external access (CLI uses localhost directly) | |
| 34 | + | @internal path /api/internal/* | |
| 35 | + | respond @internal 404 | |
| 36 | + | ||
| 33 | 37 | # Reverse proxy to application (includes /docs routes) | |
| 34 | 38 | reverse_proxy localhost:3000 | |
| 35 | 39 |