Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi

Hi 👋 I'm new to trains and am really liking the logging capabilities.
I'm running trains server on a single, local server and would like to allow only https connections rather than http. Based on some things I've read in threads here this seems to be possible, but after searching through the docs I can't seem to find out how to set this up (at least not without using a load balancer).
Could someone please help me out? 🙂

  
  
Posted 4 years ago
Votes Newest

Answers 3


Hi ThickCrow45 ,
Adding HTTPS support is something that is usually done in an external layer (as you mentioned, a load balancer).
To do it, you can use NGINX (which is widely used) and configure it to act as a load-balancer with SSL termination. See for example:
https://docs.nginx.com/nginx/admin-guide/security-controls/securing-http-traffic-upstream/
https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-load-balancing-with-ssl-termination

In our case, the ClearML server (formerly known as Trains Server 🙂 ) is the backend server (or private network).

  
  
Posted 4 years ago

You can even add NGINX in the docker-compose file (or docker-compose override file) using the publicly-available NGINX docker containers (see https://hub.docker.com/_/nginx ) - this way you won't have to install anything, just properly configure the NGINX container 🙂

  
  
Posted 4 years ago

Thanks Jake! I'll try this out

  
  
Posted 3 years ago
1K Views
3 Answers
4 years ago
one year ago
Tags