Commit 90a2922
committed
security #6008 Improved nginx config to not expose other php files (peterrehm)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #6008).
Discussion
----------
Improved nginx config to not expose other php files
| Q | A
| ------------- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | all
| Fixed tickets | #6005
This should improve the security as all non defined php files will return
a 404 error code instead of providing them as text which is a more sane
solution.
Commits
-------
6545884 Updated according to comments
31a13cb Improved nginx config to not expose other php files1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
308 | 314 | | |
309 | 315 | | |
310 | 316 | | |
| |||
318 | 324 | | |
319 | 325 | | |
320 | 326 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
| 327 | + | |
325 | 328 | | |
326 | 329 | | |
327 | 330 | | |
328 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
329 | 338 | | |
330 | 339 | | |
331 | 340 | | |
| |||
0 commit comments