Skip to content

Commit

Permalink
Override IIS query string limit to avoid 404 issues with SignalR/WebS…
Browse files Browse the repository at this point in the history
…ockets
  • Loading branch information
C0nquistadore committed Oct 21, 2022
1 parent 06223dc commit 439a870
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/PhoneBox.Server/web.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<security>
<requestFiltering>
<!-- Avoid 404 erros with SignalR/WebSockets -->
<requestLimits maxQueryString="8192" />
</requestFiltering>
</security>
</system.webServer>
</location>
</configuration>

0 comments on commit 439a870

Please sign in to comment.