Guest User

tracearr.subfolder.conf

a guest
Apr 9th, 2026
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. ## Version 2026/04/09
  2. # make sure that your tracearr container is named tracearr-supervised
  3. # make sure that you've set up a base path environment variable per https://docs.tracearr.com/configuration/environment#base-path
  4.  
  5. location ^~ /tracearr/ {
  6. # enable the next two lines for http auth
  7. #auth_basic "Restricted";
  8. #auth_basic_user_file /config/nginx/.htpasswd;
  9.  
  10. # enable for ldap auth (requires ldap-server.conf in the server block)
  11. #include /config/nginx/ldap-location.conf;
  12.  
  13. # enable for Authelia (requires authelia-server.conf in the server block)
  14. #include /config/nginx/authelia-location.conf;
  15.  
  16. # enable for Authentik (requires authentik-server.conf in the server block)
  17. #include /config/nginx/authentik-location.conf;
  18.  
  19. include /config/nginx/proxy.conf;
  20. include /config/nginx/resolver.conf;
  21. set $upstream_app tracearr-supervised;
  22. set $upstream_port 3000;
  23. set $upstream_proto http;
  24. proxy_pass $upstream_proto://$upstream_app:$upstream_port;
  25.  
  26. }
  27.  
  28. location ^~ /tracearr/api {
  29. include /config/nginx/proxy.conf;
  30. include /config/nginx/resolver.conf;
  31. set $upstream_app tracearr-supervised;
  32. set $upstream_port 3000;
  33. set $upstream_proto http;
  34. proxy_pass $upstream_proto://$upstream_app:$upstream_port;
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment