Commit 613c947
committed
feat: add nginx reverse proxy for Plausible and security filtering
- Add nginx config with Plausible proxy routes (/js/script.js, /api/event)
- Block malicious user agents and common attack paths with HTTP 444
- Add security headers (X-Frame-Options, X-Content-Type-Options, etc.)
- Configure proxy caching in /dev/shm for 5 minutes
- Configure Puma Unix socket binding for Heroku1 parent ae07616 commit 613c947
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
62 | 71 | | |
63 | 72 | | |
64 | 73 | | |
| |||
0 commit comments