Replies: 10 comments
-
|
Same here! would love to use the solution on a secure way :D |
Beta Was this translation helpful? Give feedback.
-
|
Same here. |
Beta Was this translation helpful? Give feedback.
-
|
I thnik i find the issue, not the solution. fetch("http://localhost:52345/api/v1/health", {
"headers": {
"accept": "application/json, text/plain, */*",
"accept-language": "en",
"authorization": "Bearer"
},
"referrer": "",
"body": null,
"method": "GET",
"mode": "cors",
"credentials": "include"
});Donc ca veut me renvoyer vers localhost, forcèment ca ne marche pas, forcèement ne c'est pas la même machine. Et si j'accède à checkamte via l'ip en brut donc par exemple 1.1.1.1:523445 au lieu de sup.domain.example, et que je clique encore une fois sur "register here", j'ai ça dans les logs de la console web. fetch("https://sup.domain.example/api/v1/auth/users/superadmin", {
"headers": {
"accept": "application/json, text/plain, */*",
"accept-language": "en",
"authorization": "Bearer",
"sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Brave\";v=\"140\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"macOS\""
},
"referrer": "http://1.1.1.1:52345/",
"body": null,
"method": "GET",
"mode": "cors",
"credentials": "include"
});Là ca me renvoie vers sup.domain.example ? Quel est le soucis ? Je ne comprend pas le comportement de checkmate là. services:
server:
image: ghcr.io/bluewave-labs/checkmate-backend-mono:latest
networks:
- proxy
- checkamte-net
pull_policy: always
restart: always
ports:
- "52345:52345"
environment:
- LOG_LEVEL=DEBUG
- NODE_ENV=production
- UPTIME_APP_API_BASE_URL=https://sup.domain.example/api/v1
- UPTIME_APP_CLIENT_HOST=https://sup.domain.example
- CLIENT_HOST=https://sup.domain.example
- DB_CONNECTION_STRING=mongodb://mongodb:27017/uptime_db
- JWT_SECRET=3fdff81025ac26cfa4ddcd866ebee7b7abbca83e08961b886ce3775964ef251f3e23ba9ef8ebd7a8de288b7d2daa0a22bc4f3e9e091cc0332afdee3471e28651
depends_on:
- mongodb
mongodb:
image: ghcr.io/bluewave-labs/checkmate-mongo:latest
networks:
- checkamte-net
restart: always
command: ["mongod", "--quiet", "--bind_ip_all"]
volumes:
- data-volume:/data/db
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')", "--quiet"]
interval: 5s
timeout: 30s
start_period: 0s
start_interval: 1s
retries: 30
networks:
proxy:
external: true
checkamte-net:
driver: bridge
volumes:
data-volume: |
Beta Was this translation helpful? Give feedback.
-
|
Here's my working config, I hope it helps you. |
Beta Was this translation helpful? Give feedback.
-
|
Id love to see that for nginx proxy manager. Here, and of course, somewhere in the documentation 🙄 |
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing, but I would highly appreciate staying with nginx manager. This is for Traefik right? |
Beta Was this translation helpful? Give feedback.
-
yes |
Beta Was this translation helpful? Give feedback.
-
|
I will test witn NPMPlus your dockerfile, I was so tired , i didn't see i write in english and french both lol |
Beta Was this translation helpful? Give feedback.
-
|
I now did a little bit Debugging. I set the following in the "Advanced" Configuration Tab in NPM(plus):
then the Server will Feedback:
which if you open the Documentation (https://express-rate-limit.github.io/ERR_ERL_PERMISSIVE_TRUST_PROXY), you will have to insert into app.js (in the docker container at: /app/server/src/app.js):
to Make changes work you will have to mount that file as "ro" in the volumes in the compose file: for example:
But with that set to true, the IP, or whatever - it still gets Stuck but won't give you any errors. I didn't try the "KeyGenerator" yet: https://express-rate-limit.mintlify.app/reference/error-codes#err-erl-forwarded-header But this could be the right direction for our issues. At least for me - I get only Status 200 in Browser Console, but am greeted with a blank white-Screen (using selfsigned certs btw):
|
Beta Was this translation helpful? Give feedback.
-
|
not sure why missing documentation is turned from issue to discussion can the devs PLEASE add missing and needed documentation? |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
This is my docker compose:
Its stock but just with the variables.
when I put 192.168.236.113 as HOST, the actual server ip (debian lxc, if that matters), i can access
I am doing a reverse proxy to it
that doesnt work
should i put the fqdn on the HOST variable, do a reverse proxy rewrite, or...?
Beta Was this translation helpful? Give feedback.
All reactions