Commit ca35a6a
committed
security: default ogx go to localhost instead of all interfaces
The generated config now sets server.host to 127.0.0.1, preventing
accidental exposure of the server to the network. A new --host flag
allows users to explicitly bind to a different address.
Signed-off-by: Matthew Farrellee <matt@cs.wisc.edu>1 parent 26c1463 commit ca35a6a
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
213 | 219 | | |
214 | 220 | | |
215 | 221 | | |
| |||
471 | 477 | | |
472 | 478 | | |
473 | 479 | | |
| 480 | + | |
| 481 | + | |
474 | 482 | | |
475 | 483 | | |
476 | 484 | | |
| |||
0 commit comments