Hello,
for whatever reason (nothing changed) my bitwarden installation on my local server is not accessable anymore.
I own my domain bitwarden.mydomain.de and this is forwarded to my routers dyndns
all traffice on 443 and 80 are redirected to my server
on this server i have 3 docker container running
1.) SWAG
2.) Nextcloud
3.) bitwarden
each in a seperate container. Nextcloud is accessible but bitwarden not.
here the error log:
2022/12/06 12:01:54 [error] 300#300: 1 bitwarden could not be resolved (3: Host not found), client: 92.117.255.219, server: bitwarden., request: “GET /favicon.ico HTTP/2.0”, host: “bitwarden.mydomain”, referrer: “https:/bitwarden.mydomain.de/”
2022/12/06 12:01:54 [error] 300#300: 1 bitwarden could not be resolved (3: Host not found), client: 92.117.255.219, server: bitwarden., request: “GET /favicon.ico HTTP/2.0”, host: “bitwarden.mydomain”, referrer: “https:/bitwarden.mydomain.de/”
2022/12/06 12:02:07 [error] 300#300: 1 bitwarden could not be resolved (3: Host not found), client: 92.117.255.219, server: bitwarden., request: “GET / HTTP/2.0”, host: “bitwarden.mydomain”
2022/12/06 12:02:07 [error] 300#300: 1 bitwarden could not be resolved (3: Host not found), client: 92.117.255.219, server: bitwarden., request: “GET / HTTP/2.0”, host: “bitwarden.mydomain”
2022/12/06 12:02:07 [error] 300#300: 1 bitwarden could not be resolved (3: Host not found), client: 92.117.255.219, server: bitwarden., request: “GET /favicon.ico HTTP/2.0”, host: “bitwarden.mydomain”, referrer: “https:/bitwarden.mydomain/”
2022/12/06 12:02:07 [error] 300#300: 1 bitwarden could not be resolved (3: Host not found), client: 92.117.255.219, server: bitwarden., request: “GET /favicon.ico HTTP/2.0”, host: "bitwarden.mydomain, referrer: “https:/bitwarden.mydomain”
and there the nginx conf:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name bitwarden.*;
include /config/nginx/ssl.conf;
client_max_body_size 128M;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app bitwarden;
set $upstream_port 80;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
location /admin {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app bitwarden;
set $upstream_port 80;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
location /notifications/hub {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app bitwarden;
set $upstream_port 3012;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
location /notifications/hub/negotiate {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app bitwarden;
set $upstream_port 80;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
Thanks for your help