Commit df81b2e
fix(nginx): use rewrite instead of return for trailing slash redirect (#2226)
Changes the trailing slash redirect from using `return` with location
regex to using `rewrite` directive inside the location block. Also
removes quotes from the regex pattern to match the style of other regex
locations in the config.
This should fix the issue where the previous approach wasn't working.
Slack thread:
https://apify.slack.com/archives/C0L33UM7Z/p1770281199186039
https://claude.ai/code/session_01GqcrG6JU9Y1YaSA5ns87Yz
Co-authored-by: Claude <noreply@anthropic.com>1 parent f3a74cd commit df81b2e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments