Created
January 7, 2022 10:54
-
-
Save olafj/dba7f0087e249b6ac837d694665ecd0d to your computer and use it in GitHub Desktop.
tunneling websocket apache 2.4. tomcat9 / spring-boot / stomp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Location /<YOUT_CONTEXT>/chat-socket> | |
Require all granted | |
RewriteEngine on | |
RewriteCond %{HTTP:UPGRADE} ^websocket$ [NC] | |
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC] | |
RewriteRule .* ws://localhost:8080%{REQUEST_URI} [P] | |
</Location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment