default.conf.template 790 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Please do not directly edit this file. Instead, modify the .env variables related to NGINX configuration.
  2. server {
  3. listen ${NGINX_PORT};
  4. server_name ${NGINX_SERVER_NAME};
  5. location /console/api {
  6. proxy_pass http://api:5001;
  7. include proxy.conf;
  8. }
  9. location /api {
  10. proxy_pass http://api:5001;
  11. include proxy.conf;
  12. }
  13. location /v1 {
  14. proxy_pass http://api:5001;
  15. include proxy.conf;
  16. }
  17. location /files {
  18. proxy_pass http://api:5001;
  19. include proxy.conf;
  20. }
  21. location / {
  22. proxy_pass http://web:3000;
  23. include proxy.conf;
  24. }
  25. # placeholder for acme challenge location
  26. ${ACME_CHALLENGE_LOCATION}
  27. # placeholder for https config defined in https.conf.template
  28. ${HTTPS_CONFIG}
  29. }