Commit ee32a0d
fix(nginx): remove subdomain server block causing redirect loop
The python.anyplot.ai server block was placed before the main server block.
Since server_name _ is not a true catch-all, nginx used the subdomain block
as the default server, causing all requests to redirect to /python/ in a loop.
Remove the block entirely — DNS for the subdomain isn't configured yet.
Add default_server to the main block to prevent this class of bug.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent fec16a7 commit ee32a0d
1 file changed
+1
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 34 | + | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
| |||
0 commit comments