I was having some issues after the merger of the frontend + api containers with my reverse proxy setup. Here's what I did to fix it:
1. Change the new container's network to proxynet (the same network my swag container is on)
a. This was necessary for the /api/ path to work correctly, otherwise I got a 502 but only on the /api/ path(s)
2. Added my public url in the new container's config (I'm not sure this step was necessary)
3. Updated my swag config file for vikunja (see below)
4. Restarted swag
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name vikunja.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
# enable for Authelia
# include /config/nginx/authelia-server.conf;
location / {
# enable for Authelia
#include /config/nginx/authelia-location.conf;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app <the unraid ip of the app>; #not the docker ip or docker container name
set $upstream_port <the unraid port>; #not the docker port
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}