You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
523 B
Plaintext
23 lines
523 B
Plaintext
server {
|
|
listen 80;
|
|
server_name _ default;
|
|
return 404;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name ${CVAT_HOST};
|
|
|
|
proxy_pass_header X-CSRFToken;
|
|
proxy_set_header Host $http_host;
|
|
proxy_pass_header Set-Cookie;
|
|
|
|
location ~* /api/.*|git/.*|opencv/.*|analytics/.*|static/.*|admin(?:/(.*))?.*|documentation/.*|django-rq(?:/(.*))? {
|
|
proxy_pass http://cvat:8080;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://cvat_ui;
|
|
}
|
|
}
|