mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 19:06:55 +00:00
21 lines
759 B
Plaintext
21 lines
759 B
Plaintext
|
location /${CLEARML_SERVER_SUB_PATH} {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_pass http://localhost:80;
|
||
|
rewrite /${CLEARML_SERVER_SUB_PATH}/(.*) /$1 break;
|
||
|
}
|
||
|
|
||
|
location /${CLEARML_SERVER_SUB_PATH}/api {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_pass http://localhost:80/api;
|
||
|
rewrite /${CLEARML_SERVER_SUB_PATH}/api/(.*) /api/$1 break;
|
||
|
}
|
||
|
|
||
|
location /${CLEARML_SERVER_SUB_PATH}/files {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_pass http://localhost:80/files;
|
||
|
rewrite /${CLEARML_SERVER_SUB_PATH}/files/(.*) /files/$1 break;
|
||
|
rewrite /${CLEARML_SERVER_SUB_PATH}/files /files/ break;
|
||
|
}
|