Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse proxy seems not being detected #301

Open
manoaratefy opened this issue Oct 25, 2023 · 1 comment
Open

Reverse proxy seems not being detected #301

manoaratefy opened this issue Oct 25, 2023 · 1 comment

Comments

@manoaratefy
Copy link

Hello,
I'm facing an issue with installation. I've managed to install on localhost port 3000, and now I'm trying to put a nginx reverse proxy in the front of the app.
However, the app seems not detecting the URL, it stills display http://localhost:3000 instead of http://mydomain.com. I tried to change NEXT_PUBLIC_WEBAPP_URLto http://mydomain.com instead of http://localhost:3000 in the .env but no changes.

Is there something wrong in my configuration?

Here's my nginx configuration:

server {
  listen 80;
  server_name mydomain.com www.mydomain.com;
  root /var/www/html;

  location /.well-known/ {
    try_files $uri $uri/ =404;
  }

  location / {
    proxy_pass http://localhost:3000;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Port $server_port;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-Server $host;
  }
}
@satonotdead
Copy link

Stills no way to use Calcom behind a reverse proxy? =/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants