Advertisement
Guest User

Untitled

a guest
Jan 13th, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. server {
  2. listen 3003 default_server;
  3. listen [::]:3003 default_server;
  4.  
  5. access_log /dev/stdout;
  6. error_log /dev/stdout;
  7.  
  8. ssl_protocols TLSv1.1 TLSv1.2;
  9. ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
  10. ssl_prefer_server_ciphers off;
  11. ssl_session_timeout 1d;
  12. ssl_session_tickets off;
  13.  
  14. # OCSP stapling
  15. ssl_stapling on;
  16. ssl_stapling_verify on;
  17.  
  18. server_tokens off;
  19.  
  20. proxy_headers_hash_bucket_size 1280;
  21.  
  22. location / {
  23. try_files $uri /index.html =404;
  24. root /home/user/app/packages/app/dist/;
  25. index index.html;
  26. add_header Last-Modified $date_gmt;
  27. add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
  28. if_modified_since off;
  29. expires off;
  30. etag off;
  31. }
  32.  
  33. location /api/ {
  34. proxy_http_version 1.1;
  35. proxy_pass https://orchestration-app.sample.com;
  36. proxy_cache_bypass $http_upgrade;
  37. proxy_set_header Upgrade $http_upgrade;
  38. proxy_set_header Connection "Upgrade";
  39. }
  40.  
  41. location /api/legalEntities {
  42. proxy_http_version 1.1;
  43. proxy_pass https://orchestration-app.sample.com;
  44. }
  45.  
  46. location /api/prefilledDatasets {
  47. proxy_http_version 1.1;
  48. proxy_pass https://pref.sample.com;
  49. }
  50.  
  51. location /api/prefilledAddresses {
  52. proxy_http_version 1.1;
  53. proxy_headers_hash_bucket_size 128;
  54. proxy_pass https://pref.sample.com;
  55. }
  56.  
  57. location /refimpl-be/api/user/entities {
  58. proxy_headers_hash_bucket_size 128;
  59. proxy_pass https://core.sample.com;
  60. }
  61.  
  62. location /api/legalentities {
  63. proxy_http_version 1.1;
  64. proxy_headers_hash_bucket_size 128;
  65. proxy_pass https://user-mgmt.sample.com;
  66. }
  67.  
  68. location /api/users/userinfo {
  69. proxy_http_version 1.1;
  70. proxy_pass https://user-mgmt.sample.com;
  71. }
  72.  
  73. location ~ ^/(refimpl-be|dataset|prefill)/ {
  74. proxy_http_version 1.1;
  75. proxy_pass https://core.sample.com;
  76. proxy_cache_bypass $http_upgrade;
  77. proxy_set_header Upgrade $http_upgrade;
  78. proxy_set_header Connection "Upgrade";
  79. }
  80. }
  81.  
  82.  
  83. 2020/01/11 11:17:39 [debug] 41706#0: *21 http upstream request: "/api/legalEntities/a74bc1-a0fe-4f83-6182f09803f6/drafts/a4a6cb89-30ca-48ed-9f48/signing?"
  84. 2020/01/11 11:17:39 [debug] 41706#0: *21 http upstream process header
  85. 2020/01/11 11:17:39 [debug] 41706#0: *21 SSL_read: 1021
  86. 2020/01/11 11:17:39 [debug] 41706#0: *21 SSL_read: -1
  87. 2020/01/11 11:17:39 [debug] 41706#0: *21 SSL_get_error: 2
  88. 2020/01/11 11:17:39 [debug] 41706#0: *21 http proxy status 400 "400 Bad Request"
  89. 2020/01/11 11:17:39 [debug] 41706#0: *21 http proxy header: "content-type: text/html;charset=utf-8"
  90. 2020/01/11 11:17:39 [debug] 41706#0: *21 http proxy header: "content-language: en"
  91. 2020/01/11 11:17:39 [debug] 41706#0: *21 http proxy header: "content-length: 800"
  92. 2020/01/11 11:17:39 [debug] 41706#0: *21 http proxy header: "date: Sat, 11 Jan 2020 11:17:39 GMT"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement