Custom Query (2297 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 2297)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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. zhoushulin1992@…
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. zhoushulin1992@…
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.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.