diff --git a/nginx.conf.gateway b/nginx.conf.gateway index b7a3ebf..c63461e 100644 --- a/nginx.conf.gateway +++ b/nginx.conf.gateway @@ -124,6 +124,20 @@ http { proxy_pass http://sys_ui; proxy_set_header Host $host; } + + location /upload/ { + proxy_pass https://sys_api/upload/; + proxy_ssl_server_name on; + proxy_ssl_verify off; + proxy_set_header Authorization $http_authorization; + } + + location /temporary_upload/ { + proxy_pass https://sys_api/upload/; + proxy_ssl_server_name on; + proxy_ssl_verify off; + proxy_set_header Authorization $http_authorization; + } } @@ -187,11 +201,26 @@ http { sub_filter 'https://sys-api:19902' 'https://$host:8001'; sub_filter 'https://sys_api' 'https://$host:8001'; } + location /api/sys/ { proxy_pass https://sys_api/api/; proxy_ssl_server_name on; proxy_ssl_verify off; proxy_set_header Authorization $http_authorization; } + + location /upload/ { + proxy_pass https://sys_api/upload/; + proxy_ssl_server_name on; + proxy_ssl_verify off; + proxy_set_header Authorization $http_authorization; + } + + location /temporary_upload/ { + proxy_pass https://sys_api/upload/; + proxy_ssl_server_name on; + proxy_ssl_verify off; + proxy_set_header Authorization $http_authorization; + } } }