Commit cd802c6
committed
Revert to working nginx panel configuration
- Back to proven rewrite + break pattern that was working
- Keep the added proxy headers for proper forwarding
- Remove the trailing slash approach that broke functionality
Working pattern:
- rewrite ^/panel/(.*)$ / break strips /panel/ prefix
- proxy_pass http://127.0.0.1:9002 (no trailing slash)
- Restores https://afrihornet.ngrok.io/panel/ functionality1 parent b12a649 commit cd802c6
2 files changed
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
| 285 | + | |
290 | 286 | | |
291 | | - | |
| 287 | + | |
| 288 | + | |
292 | 289 | | |
293 | 290 | | |
294 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 46 | + | |
51 | 47 | | |
52 | | - | |
| 48 | + | |
| 49 | + | |
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
| |||
0 commit comments