opus53 commented on issue #8635:
URL: 
https://github.com/apache/incubator-devlake/issues/8635#issuecomment-3708767216

   Hi there,
   
   I experienced the same issue when deploying DevLake using Docker images to 
AWS ECS.
   I confirmed this issue exists in the following Docker image versions: 
v1.0.1, v1.0.2, v1.0.3-beta8.
   
   The problem was caused by a `return 400;` statement in the config-ui's 
`nginx.conf` that was placed before the `proxy_pass` directive:
   
     ```nginx
     location /api/ {
         # ... other config ...
         return 400;        # ← This line caused the issue
         proxy_pass ...;   # Never reached
     }
   ```
   
   Removing the return 400; line from /etc/nginx/conf.d/default.conf.tpl 
resolved the HTTP 500 errors.
   This appears to be a debugging leftover in the nginx configuration that 
should probably be removed from the official Docker image.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to