My setup is the following.
I use a domain that is forwarded by cloudflare to my local ubuntu server running NGINX proxy manager.
NGINX proxy manager maps the domain to an IP address and forwards to my vijunja-nginx.
When i access my Vikunja instance via http ://IP:port from anywhere in my network, this works.
When i try to access my Vikunja instance from using my domain i.e. https:://mydomain.com i see a timeout, as if to say Vikunja is being access but no root back.
on my NGINX proxy manageer i’ve changed my domain to point to another application (to verify the instance of NGINX PM isnt the issue), and this worked
my docker-compose.yml is
version: '3'
services:
api:
image: vikunja/api
container_name: VikunjaAPI
environment:
VIKUNJA_DATABASE_HOST: <IP of mariadb>:<port of mariadb>
VIKUNJA_DATABASE_PASSWORD: passwd
VIKUNJA_DATABASE_TYPE: mysql
VIKUNJA_DATABASE_USER: user
VIKUNJA_DATABASE_DATABASE: vikunja
VIKUNJA_SERVICE_JWTSECRET: <a random string>
VIKUNJA_SERVICE_FRONTENDURL: https://mydomain.com/
VIKUNJA_SERVICE_TIMEZONE: Europe/London
VIKUNJA_LOG_LEVEL: DEBUG
ports:
- 3456:3456
volumes:
- /path to my files/files:/app/vikunja/files
networks:
- nginx_vikunja_nw
restart: unless-stopped
frontend:
image: vikunja/frontend
container_name: VikunjaFrontE
depends_on:
- api
networks:
- nginx_vikunja_nw
restart: unless-stopped
proxy:
image: nginx
container_name: VikunjaNginx
ports:
- 47112:80
volumes:
- /path to my files/nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- api
- frontend
networks:
- nginx_vikunja_nw
restart: unless-stopped
networks:
nginx_vikunja_nw:
driver: bridge
my nginx.con is
server {
listen 80;location / { proxy_pass http://frontend:80; } location ~* ^/(api|dav|\.well-known)/ { proxy_pass http://api:3456; client_max_body_size 20M; }
}
I have portainer on the same ubuntu server, and i’m using it to view the logs of they Vikuja NGINX instance and can not see any entries from when i try to access Vikunja using the external domain name.
Any ideas on how i can troubleshoot this further ?