增加附件的路径
This commit is contained in:
parent
b4bf1fd0e8
commit
1411750505
|
@ -124,6 +124,20 @@ http {
|
||||||
proxy_pass http://sys_ui;
|
proxy_pass http://sys_ui;
|
||||||
proxy_set_header Host $host;
|
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:19902' 'https://$host:8001';
|
||||||
sub_filter 'https://sys_api' 'https://$host:8001';
|
sub_filter 'https://sys_api' 'https://$host:8001';
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/sys/ {
|
location /api/sys/ {
|
||||||
proxy_pass https://sys_api/api/;
|
proxy_pass https://sys_api/api/;
|
||||||
proxy_ssl_server_name on;
|
proxy_ssl_server_name on;
|
||||||
proxy_ssl_verify off;
|
proxy_ssl_verify off;
|
||||||
proxy_set_header Authorization $http_authorization;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue