Custom Query (2297 matches)
Results (22 - 24 of 2297)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#522 | invalid | websocket connect failed with non default_server | ||
Description |
WebSocket connection to 'ws://test.com/websocket/notification' failed: Error during WebSocket handshake: Unexpected response code: 302 works fine with default_server or direct to backend server. upstream backend { server localhost:8080; server localhost:8081; } server { listen 80 default_server; location ~ ^/websocket/ { proxy_pass http://backend; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location / { proxy_pass http://backend; proxy_redirect off; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; } } server { listen 80 default_server; server_name test.com; location ~ ^/websocket/ { proxy_pass http://backend; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location / { proxy_pass http://backend; proxy_redirect off; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; } } |
|||
#2081 | wontfix | The restriction on directive "alias" is not complete. | ||
Description |
Directive "alias" cannot used inside the named location, but none of the document about "alias" or "location" is mentioned about this. Also, when a location rewrite the URI, the directive "alias" should not be used. I suggest that we should add this information in the description of directive "alias" in https://nginx.org/en/docs/http/ngx_http_core_module.html#alias. |
|||
#2082 | wontfix | The relationship between directive "connection_pool_size" and "large_client_header_buffers" is not recorded. | ||
Description |
The "large_client_header_buffers" size must be equal to or greater than "connection_pool_size", but not recorded in the document of directive "large_client_header_buffers" or "connection_pool_size". I think it is better to add the necessary in https://nginx.org/en/docs/http/ngx_http_core_module.html#large_client_header_buffers and https://nginx.org/en/docs/http/ngx_http_core_module.html#connection_pool_size. |