Commit 065b8e2
committed
feat: configure Puma to use Unix socket for nginx communication
- Bind to /tmp/nginx.socket with umask=0077 (owner-only permissions)
- Update Procfile to use bin/start-nginx wrapper
- Only apply socket binding when DYNO env var present (Heroku)1 parent c679b0f commit 065b8e2
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments