-
Notifications
You must be signed in to change notification settings - Fork 351
Closed
Description
Should it also work with IP instead of domain name?! I want to run it locally on my machine to test everything out. I disabled/removed Caddy, added nginx container to proxify everything up:
Added to docker:
nginx:
image: nginx:alpine
container_name: nginx
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- backend
- client
healthcheck:
test: ["CMD", "nginx", "-t"]
interval: 30s
timeout: 10s
retries: 3
restart: unless-stopped
Nginx Config:
events {
worker_connections 1024;
}
http {
server {
listen 80;
server_name _;
# Client app
location / {
proxy_pass http://client:3002;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Backend API
location /api {
proxy_pass http://backend:3001;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}
But when i try to create org on signup, i get

Metadata
Metadata
Assignees
Labels
No labels