@@ -12,38 +12,45 @@ server {
12
12
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
13
13
}
14
14
15
- location /mcpgw/ {
16
- proxy_pass http://127.0.0.1:8003/;
17
- proxy_http_version 1.1;
18
- proxy_set_header Host $host;
19
- proxy_set_header X-Real-IP $remote_addr;
20
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
21
- }
15
+ # REMOVE HARDCODED /mcpgw
16
+ # location /mcpgw/ {
17
+ # proxy_pass http://127.0.0.1:8003/;
18
+ # proxy_http_version 1.1;
19
+ # proxy_set_header Host $host;
20
+ # proxy_set_header X-Real-IP $remote_addr;
21
+ # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
22
+ # }
22
23
23
- # Route for Current Time service
24
- location /currenttime/ {
25
- proxy_pass http://127.0.0.1:8001/;
26
- proxy_http_version 1.1;
27
- proxy_set_header Host $host;
28
- proxy_set_header X-Real-IP $remote_addr;
29
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
30
- }
24
+ # REMOVE HARDCODED /currenttime
25
+ # location /currenttime/ {
26
+ # proxy_pass http://127.0.0.1:8001/;
27
+ # proxy_http_version 1.1;
28
+ # proxy_set_header Host $host;
29
+ # proxy_set_header X-Real-IP $remote_addr;
30
+ # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
31
+ # }
31
32
32
- # Route for Financial Information service
33
- location /fininfo/ {
34
- proxy_pass http://127.0.0.1:8002/;
35
- proxy_http_version 1.1;
36
- proxy_set_header Host $host;
37
- proxy_set_header X-Real-IP $remote_addr;
38
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
39
-
40
- # Additional settings for SSE support
41
- proxy_set_header Connection '';
42
- chunked_transfer_encoding off;
43
- proxy_buffering off;
44
- proxy_cache off;
45
- proxy_read_timeout 3600s;
46
- }
33
+ # REMOVE HARDCODED /fininfo
34
+ # location /fininfo/ {
35
+ # proxy_pass http://127.0.0.1:8002/;
36
+ # proxy_http_version 1.1;
37
+ # proxy_set_header Host $host;
38
+ # proxy_set_header X-Real-IP $remote_addr;
39
+ # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
40
+ #
41
+ # # Additional settings for SSE support
42
+ # proxy_set_header Connection '';
43
+ # chunked_transfer_encoding off;
44
+ # proxy_buffering off;
45
+ # proxy_cache off;
46
+ # proxy_read_timeout 3600s;
47
+ # }
48
+
49
+ # --- ADD DYNAMIC MARKERS --- START
50
+ # DYNAMIC_LOCATIONS_START
51
+
52
+ # DYNAMIC_LOCATIONS_END
53
+ # --- ADD DYNAMIC MARKERS --- END
47
54
48
55
location /tsbedrock/ {
49
56
# Fix the path handling by adding trailing slash and using $request_uri
@@ -91,36 +98,45 @@ server {
91
98
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
92
99
}
93
100
94
- location /mcpgw/ {
95
- proxy_pass http://127.0.0.1:8003/;
96
- proxy_http_version 1.1;
97
- proxy_set_header Host $host;
98
- proxy_set_header X-Real-IP $remote_addr;
99
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
100
- }
101
+ # REMOVE HARDCODED /mcpgw
102
+ # location /mcpgw/ {
103
+ # proxy_pass http://127.0.0.1:8003/;
104
+ # proxy_http_version 1.1;
105
+ # proxy_set_header Host $host;
106
+ # proxy_set_header X-Real-IP $remote_addr;
107
+ # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
108
+ # }
101
109
102
- location /currenttime/ {
103
- proxy_pass http://127.0.0.1:8001/;
104
- proxy_http_version 1.1;
105
- proxy_set_header Host $host;
106
- proxy_set_header X-Real-IP $remote_addr;
107
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
108
- }
110
+ # REMOVE HARDCODED /currenttime
111
+ # location /currenttime/ {
112
+ # proxy_pass http://127.0.0.1:8001/;
113
+ # proxy_http_version 1.1;
114
+ # proxy_set_header Host $host;
115
+ # proxy_set_header X-Real-IP $remote_addr;
116
+ # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
117
+ # }
109
118
110
- location /fininfo/ {
111
- proxy_pass http://127.0.0.1:8002/;
112
- proxy_http_version 1.1;
113
- proxy_set_header Host $host;
114
- proxy_set_header X-Real-IP $remote_addr;
115
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
116
-
117
- # Additional settings for SSE support
118
- proxy_set_header Connection '';
119
- chunked_transfer_encoding off;
120
- proxy_buffering off;
121
- proxy_cache off;
122
- proxy_read_timeout 3600s;
123
- }
119
+ # REMOVE HARDCODED /fininfo
120
+ # location /fininfo/ {
121
+ # proxy_pass http://127.0.0.1:8002/;
122
+ # proxy_http_version 1.1;
123
+ # proxy_set_header Host $host;
124
+ # proxy_set_header X-Real-IP $remote_addr;
125
+ # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
126
+ #
127
+ # # Additional settings for SSE support
128
+ # proxy_set_header Connection '';
129
+ # chunked_transfer_encoding off;
130
+ # proxy_buffering off;
131
+ # proxy_cache off;
132
+ # proxy_read_timeout 3600s;
133
+ # }
134
+
135
+ # --- ADD DYNAMIC MARKERS --- START
136
+ # DYNAMIC_LOCATIONS_START
137
+
138
+ # DYNAMIC_LOCATIONS_END
139
+ # --- ADD DYNAMIC MARKERS --- END
124
140
125
141
location /tsbedrock/ {
126
142
proxy_pass https://hwfo2k8szg.execute-api.us-east-1.amazonaws.com/prod/;
0 commit comments