You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm having an issue while trying to serve the service using Docker compose and Nginx as reverse proxy. I'm getting a 400 Bad Request error.
My config is pretty simple, here's the docker-compose.yml file:
services:
app:
restart: alwaysimage: getfider/fider:stableports:
- "8000:3000"environment:
BASE_URL: http://localhostDATABASE_URL: REDACTEDJWT_SECRET: REDACTED# From which account e-mails will be sentEMAIL_NOREPLY: REDACTEDEMAIL_AWSSES_REGION: us-east-1EMAIL_AWSSES_ACCESS_KEY_ID: REDACTEDEMAIL_AWSSES_SECRET_ACCESS_KEY: REDACTED
And here's the Nginx config:
server {
server_name roadmap.nicksaudelabs.com;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/roadmap.nicksaudelabs.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/roadmap.nicksaudelabs.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
client_max_body_size 100m;
location / {
proxy_buffering off;
proxy_request_buffering off;
proxy_pass_request_headers on;
proxy_pass http://localhost:8000;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header Host $host;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
proxy_pass_header Set-Cookie;
proxy_read_timeout 10m;
proxy_send_timeout 100m;
}
}
server {
if ($host = roadmap.nicksaudelabs.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name roadmap.nicksaudelabs.com;
listen 80;
return 404; # managed by Certbot
}
I'm not sure how to start debugging at the moment. The logs give me nothing 😢
I appreciate any help. Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I'm using the self-hosted version.
Describe the bug
I'm having an issue while trying to serve the service using Docker compose and Nginx as reverse proxy. I'm getting a
400 Bad Request
error.My config is pretty simple, here's the docker-compose.yml file:
And here's the Nginx config:
I'm not sure how to start debugging at the moment. The logs give me nothing 😢
I appreciate any help. Thanks.
The text was updated successfully, but these errors were encountered: