mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
Merge branch 'master' into patch-1
This commit is contained in:
commit
1d92e5bc09
4 changed files with 21 additions and 127 deletions
|
@ -1,7 +1,10 @@
|
||||||
## Version 2023/05/31
|
## Version 2023/11/12
|
||||||
# make sure that your bitwarden container is named bitwarden
|
# make sure that your bitwarden container is named bitwarden
|
||||||
# make sure that your dns has a cname set for bitwarden
|
# make sure that your dns has a cname set for bitwarden
|
||||||
# set the environment variable WEBSOCKET_ENABLED=true on your bitwarden container
|
# if you are using bitwarden (the official image), use the bitwarden conf
|
||||||
|
# if you are using vaultwarden (an unofficial implementation), use the vaultwarden conf
|
||||||
|
#
|
||||||
|
# bitwarden defaults to port 8080 and can be changed using the environment variable BW_PORT_HTTP on the bitwarden container
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
@ -39,7 +42,7 @@ server {
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
include /config/nginx/resolver.conf;
|
include /config/nginx/resolver.conf;
|
||||||
set $upstream_app bitwarden;
|
set $upstream_app bitwarden;
|
||||||
set $upstream_port 80;
|
set $upstream_port 8080;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
@ -62,7 +65,7 @@ server {
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
include /config/nginx/resolver.conf;
|
include /config/nginx/resolver.conf;
|
||||||
set $upstream_app bitwarden;
|
set $upstream_app bitwarden;
|
||||||
set $upstream_port 80;
|
set $upstream_port 8080;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
@ -72,7 +75,7 @@ server {
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
include /config/nginx/resolver.conf;
|
include /config/nginx/resolver.conf;
|
||||||
set $upstream_app bitwarden;
|
set $upstream_app bitwarden;
|
||||||
set $upstream_port 80;
|
set $upstream_port 8080;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
@ -82,17 +85,7 @@ server {
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
include /config/nginx/resolver.conf;
|
include /config/nginx/resolver.conf;
|
||||||
set $upstream_app bitwarden;
|
set $upstream_app bitwarden;
|
||||||
set $upstream_port 3012;
|
set $upstream_port 8080;
|
||||||
set $upstream_proto http;
|
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ (/bitwarden)?/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;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
|
|
@ -1,86 +0,0 @@
|
||||||
## Version 2023/02/13
|
|
||||||
# make sure that your bitwarden container is named bitwarden
|
|
||||||
# make sure that bitwarden is set to work with the base url /bitwarden/
|
|
||||||
## Environmental Variable DOMAIN=https://<DOMAIN>/bitwarden must be set in bitwarden container including subfolder.
|
|
||||||
## This is using ports 80 and 3012
|
|
||||||
|
|
||||||
location /bitwarden {
|
|
||||||
return 301 $scheme://$host/bitwarden/;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ^~ /bitwarden/ {
|
|
||||||
# enable the next two lines for http auth
|
|
||||||
#auth_basic "Restricted";
|
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
|
||||||
|
|
||||||
# enable for ldap auth (requires ldap-server.conf in the server block)
|
|
||||||
#include /config/nginx/ldap-location.conf;
|
|
||||||
|
|
||||||
# enable for Authelia (requires authelia-server.conf in the server block)
|
|
||||||
#include /config/nginx/authelia-location.conf;
|
|
||||||
|
|
||||||
# enable for Authentik (requires authentik-server.conf in the server block)
|
|
||||||
#include /config/nginx/authentik-location.conf;
|
|
||||||
|
|
||||||
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 ~ (/bitwarden)?/admin {
|
|
||||||
# enable the next two lines for http auth
|
|
||||||
#auth_basic "Restricted";
|
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
|
||||||
|
|
||||||
# enable for ldap auth (requires ldap-server.conf in the server block)
|
|
||||||
#include /config/nginx/ldap-location.conf;
|
|
||||||
|
|
||||||
# enable for Authelia (requires authelia-server.conf in the server block)
|
|
||||||
#include /config/nginx/authelia-location.conf;
|
|
||||||
|
|
||||||
# enable for Authentik (requires authentik-server.conf in the server block)
|
|
||||||
#include /config/nginx/authentik-location.conf;
|
|
||||||
|
|
||||||
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 ~ (/bitwarden)?/api {
|
|
||||||
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 ~ (/bitwarden)?/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 ~ (/bitwarden)?/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;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
## Version 2023/05/31
|
## Version 2023/11/12
|
||||||
# make sure that your vaultwarden container is named vaultwarden
|
# make sure that your vaultwarden container is named vaultwarden
|
||||||
# make sure that your dns has a cname set for vaultwarden
|
# make sure that your dns has a cname set for vaultwarden
|
||||||
# set the environment variable WEBSOCKET_ENABLED=true on your vaultwarden container
|
# if you are using bitwarden (the official image), use the bitwarden conf
|
||||||
|
# if you are using vaultwarden (an unofficial implementation), use the vaultwarden conf
|
||||||
|
#
|
||||||
|
# vaultwarden defaults to port 80 and can be changed using the environment variable ROCKET_PORT on the vaultwarden container
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
@ -79,16 +82,6 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ (/vaultwarden)?/notifications/hub {
|
location ~ (/vaultwarden)?/notifications/hub {
|
||||||
include /config/nginx/proxy.conf;
|
|
||||||
include /config/nginx/resolver.conf;
|
|
||||||
set $upstream_app vaultwarden;
|
|
||||||
set $upstream_port 3012;
|
|
||||||
set $upstream_proto http;
|
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ (/vaultwarden)?/notifications/hub/negotiate {
|
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
include /config/nginx/resolver.conf;
|
include /config/nginx/resolver.conf;
|
||||||
set $upstream_app vaultwarden;
|
set $upstream_app vaultwarden;
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
## Version 2023/03/27
|
## Version 2023/11/12
|
||||||
# make sure that your vaultwarden container is named vaultwarden
|
# make sure that your vaultwarden container is named vaultwarden
|
||||||
# make sure that vaultwarden is set to work with the base url /vaultwarden/
|
# make sure that vaultwarden is set to work with the base url /vaultwarden/
|
||||||
## Environmental Variable DOMAIN=https://<DOMAIN>/vaultwarden must be set in vaultwarden container including subfolder.
|
# if you are using bitwarden (the official image), use the bitwarden conf
|
||||||
## This is using ports 80 and 3012
|
# if you are using vaultwarden (an unofficial implementation), use the vaultwarden conf
|
||||||
|
#
|
||||||
|
# vaultwarden defaults to port 80 and can be changed using the environment variable ROCKET_PORT on the vaultwarden container
|
||||||
|
#
|
||||||
|
# Environmental Variable DOMAIN=https://<DOMAIN>/vaultwarden must be set in vaultwarden container including subfolder.
|
||||||
|
|
||||||
location /vaultwarden {
|
location /vaultwarden {
|
||||||
return 301 $scheme://$host/vaultwarden/;
|
return 301 $scheme://$host/vaultwarden/;
|
||||||
|
@ -65,16 +69,6 @@ location ~ (/vaultwarden)?/api {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ (/vaultwarden)?/notifications/hub {
|
location ~ (/vaultwarden)?/notifications/hub {
|
||||||
include /config/nginx/proxy.conf;
|
|
||||||
include /config/nginx/resolver.conf;
|
|
||||||
set $upstream_app vaultwarden;
|
|
||||||
set $upstream_port 3012;
|
|
||||||
set $upstream_proto http;
|
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ (/vaultwarden)?/notifications/hub/negotiate {
|
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
include /config/nginx/resolver.conf;
|
include /config/nginx/resolver.conf;
|
||||||
set $upstream_app vaultwarden;
|
set $upstream_app vaultwarden;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue