timvisee / timvisee/send-docker-compose

getting 404 when running with my own nginx

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
170
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Evening,

I am running this compose yaml behind my own nginx reverse proxy, I just removed the nginx and letsencrypt containers from the yaml and set my nginx to talk to port 1234 directly. The site comes up fine, but once I send a file it just stays there at 0% uploaded. logs show a lot of 404 requests:

109.186.XXXX - - [18/Apr/2023:21:12:34 +0300] "GET /api/ws HTTP/1.1" 404 2329 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:06 +0300] "GET / HTTP/2.0" 200 2143 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:07 +0300] "GET /serviceWorker.js HTTP/2.0" 200 62876 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:08 +0300] "POST /cspreport HTTP/2.0" 404 2318 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:08 +0300] "POST /cspreport HTTP/2.0" 404 2318 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:08 +0300] "POST /cspreport HTTP/2.0" 404 2319 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:08 +0300] "POST /cspreport HTTP/2.0" 404 2317 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:08 +0300] "POST /cspreport HTTP/2.0" 404 2316 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:08 +0300] "POST /cspreport HTTP/2.0" 404 2319 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:08 +0300] "POST /cspreport HTTP/2.0" 404 2318 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:08 +0300] "POST /cspreport HTTP/2.0" 404 2318 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:08 +0300] "POST /cspreport HTTP/2.0" 404 2316 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
109.186.XXXX - - [18/Apr/2023:21:16:21 +0300] "GET /api/ws HTTP/1.1" 404 2328 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"

Is there anything I am missing here in the settings that needs to be configured?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the compose YAML and the external nginx reverse-proxy settings, focusing on how /api/ws and upload requests are routed to port 1234. Reproduce the upload and inspect the proxy logs; done means the WebSocket endpoint no longer returns 404 and file uploads progress beyond 0%.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, nginx
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.