Loading services/helper/helper_service/app.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -120,7 +120,7 @@ for name, pkg in package_paths.items(): openapi_file, # relative to specification_dir (SERVICES_DIR) openapi_file, # relative to specification_dir (SERVICES_DIR) arguments={"title": title}, arguments={"title": title}, pythonic_params=True, pythonic_params=True, base_path=base_path base_path="/helper/" + base_path ) ) Loading services/nginx/nginx.conf +7 −3 Original line number Original line Diff line number Diff line Loading @@ -43,8 +43,12 @@ http { # (ONLY DEVELOPMENT)Send the log directly to the console (useful in Docker or terminal) # (ONLY DEVELOPMENT)Send the log directly to the console (useful in Docker or terminal) # access_log /dev/stdout debug_map; # access_log /dev/stdout debug_map; location / { location ~^/(?<service_forwarding>[^/]+)(?:/(?<sub_api>[^/]+))?/(ui|openapi\.json|swagger\.json) { proxy_pass $scheme://$http_host/api-invoker-management/v1/ui/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://$service_forwarding:8080; } } location /api-invoker-management { location /api-invoker-management { Loading Loading @@ -159,7 +163,7 @@ http { proxy_set_header Host $host; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://helper:8080/; proxy_pass http://helper:8080; } } } } Loading Loading
services/helper/helper_service/app.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -120,7 +120,7 @@ for name, pkg in package_paths.items(): openapi_file, # relative to specification_dir (SERVICES_DIR) openapi_file, # relative to specification_dir (SERVICES_DIR) arguments={"title": title}, arguments={"title": title}, pythonic_params=True, pythonic_params=True, base_path=base_path base_path="/helper/" + base_path ) ) Loading
services/nginx/nginx.conf +7 −3 Original line number Original line Diff line number Diff line Loading @@ -43,8 +43,12 @@ http { # (ONLY DEVELOPMENT)Send the log directly to the console (useful in Docker or terminal) # (ONLY DEVELOPMENT)Send the log directly to the console (useful in Docker or terminal) # access_log /dev/stdout debug_map; # access_log /dev/stdout debug_map; location / { location ~^/(?<service_forwarding>[^/]+)(?:/(?<sub_api>[^/]+))?/(ui|openapi\.json|swagger\.json) { proxy_pass $scheme://$http_host/api-invoker-management/v1/ui/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://$service_forwarding:8080; } } location /api-invoker-management { location /api-invoker-management { Loading Loading @@ -159,7 +163,7 @@ http { proxy_set_header Host $host; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://helper:8080/; proxy_pass http://helper:8080; } } } } Loading