default.conf.template 885 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 /e {
  22. proxy_pass http://plugin_daemon:5002;
  23. include proxy.conf;
  24. }
  25. location / {
  26. proxy_pass http://web:3000;
  27. include proxy.conf;
  28. }
  29. # placeholder for acme challenge location
  30. ${ACME_CHALLENGE_LOCATION}
  31. # placeholder for https config defined in https.conf.template
  32. ${HTTPS_CONFIG}
  33. }