Skip to content
Discussion options

You must be logged in to vote

Hey, just for descendants :) I resolved the issue with my teammates after days of research and trying different approaches. Final result - IIS URL Rewrite (proxy) on Windows Server. It seems like microsoft's module for proxy works in this way or nextjs cannot properly go through, hard to say. First I tried with setting keepAliveTimeout to some bigger value like 60_000. It started to work a little bit better but wasn't what I want. The solution was to change rewrite rules, not even the pattern but localhost - for example if you have localhost:3000 then it needs to be 127.0.0.1:3000 - seems like URL Rewrite module (proxy) has different steps when going through it till catch your Nextjs app …

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
1 reply
@Kaniusiek
Comment options

Comment options

You must be logged in to vote
14 replies
@icyJoseph
Comment options

@Kaniusiek
Comment options

@icyJoseph
Comment options

@Kaniusiek
Comment options

Answer selected by Kaniusiek
@Kaniusiek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants