nginx.conf 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. events {
  2. worker_connections 1024;
  3. }
  4. http {
  5. server {
  6. # Listen on the standard ACE administration port
  7. listen 4454;
  8. location / {
  9. # Forward directly to the internal ACE container
  10. proxy_pass http://btn-middleware:4454;
  11. # Pass all original headers completely unmodified
  12. proxy_set_header Host $host;
  13. # HTTP/1.1 support for persistent connections
  14. proxy_http_version 1.1;
  15. # Oversized buffers to seamlessly handle fragmented Java client packets
  16. proxy_buffer_size 128k;
  17. proxy_buffers 4 256k;
  18. proxy_busy_buffers_size 256k;
  19. }
  20. }
  21. server {
  22. # Listen on the standard ACE administration port
  23. listen 4474;
  24. location / {
  25. # Forward directly to the internal ACE container
  26. proxy_pass http://btn-middleware:4474;
  27. # Pass all original headers completely unmodified
  28. proxy_set_header Host $host;
  29. # HTTP/1.1 support for persistent connections
  30. proxy_http_version 1.1;
  31. # Oversized buffers to seamlessly handle fragmented Java client packets
  32. proxy_buffer_size 128k;
  33. proxy_buffers 4 256k;
  34. proxy_busy_buffers_size 256k;
  35. }
  36. }
  37. server {
  38. # Listen on the standard ACE administration port
  39. listen 4534;
  40. location / {
  41. # Forward directly to the internal ACE container
  42. proxy_pass http://btn-middleware:4534;
  43. # Pass all original headers completely unmodified
  44. proxy_set_header Host $host;
  45. # HTTP/1.1 support for persistent connections
  46. proxy_http_version 1.1;
  47. # Oversized buffers to seamlessly handle fragmented Java client packets
  48. proxy_buffer_size 128k;
  49. proxy_buffers 4 256k;
  50. proxy_busy_buffers_size 256k;
  51. }
  52. }
  53. server {
  54. # Listen on the standard ACE administration port
  55. listen 4494;
  56. location / {
  57. # Forward directly to the internal ACE container
  58. proxy_pass http://btn-middleware:4494;
  59. # Pass all original headers completely unmodified
  60. proxy_set_header Host $host;
  61. # HTTP/1.1 support for persistent connections
  62. proxy_http_version 1.1;
  63. # Oversized buffers to seamlessly handle fragmented Java client packets
  64. proxy_buffer_size 128k;
  65. proxy_buffers 4 256k;
  66. proxy_busy_buffers_size 256k;
  67. }
  68. }
  69. }