Skip to content

Commit 6328891

Browse files
committed
Add barassistant.subdomain.conf.sample
1 parent 1df50fd commit 6328891

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

barassistant.subdomain.conf.sample

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
## Version 2025/02/19
2+
# make sure that your meilisearch container is named meilisearch
3+
# make sure that your barassistant container is named barassistant
4+
# make sure that your salt-rim container is named salt-rim
5+
# make sure that your dns has a cname set for barassistant
6+
7+
server {
8+
listen 443 ssl;
9+
listen [::]:443 ssl;
10+
11+
server_name barassistant.*;
12+
13+
include /config/nginx/ssl.conf;
14+
15+
client_max_body_size 100M;
16+
17+
# enable for ldap auth (requires ldap-location.conf in the location block)
18+
#include /config/nginx/ldap-server.conf;
19+
20+
# enable for Authelia (requires authelia-location.conf in the location block)
21+
#include /config/nginx/authelia-server.conf;
22+
23+
# enable for Authentik (requires authentik-location.conf in the location block)
24+
#include /config/nginx/authentik-server.conf;
25+
26+
location / {
27+
# enable the next two lines for http auth
28+
#auth_basic "Restricted";
29+
#auth_basic_user_file /config/nginx/.htpasswd;
30+
31+
# enable for ldap auth (requires ldap-server.conf in the server block)
32+
#include /config/nginx/ldap-location.conf;
33+
34+
# enable for Authelia (requires authelia-server.conf in the server block)
35+
#include /config/nginx/authelia-location.conf;
36+
37+
# enable for Authentik (requires authentik-server.conf in the server block)
38+
#include /config/nginx/authentik-location.conf;
39+
40+
include /config/nginx/proxy.conf;
41+
include /config/nginx/resolver.conf;
42+
proxy_pass http://salt-rim:8080/;
43+
44+
}
45+
46+
location /bar/ {
47+
# enable the next two lines for http auth
48+
#auth_basic "Restricted";
49+
#auth_basic_user_file /config/nginx/.htpasswd;
50+
51+
# enable for ldap auth (requires ldap-server.conf in the server block)
52+
#include /config/nginx/ldap-location.conf;
53+
54+
# enable for Authelia (requires authelia-server.conf in the server block)
55+
#include /config/nginx/authelia-location.conf;
56+
57+
# enable for Authentik (requires authentik-server.conf in the server block)
58+
#include /config/nginx/authentik-location.conf;
59+
60+
include /config/nginx/proxy.conf;
61+
include /config/nginx/resolver.conf;
62+
proxy_pass http://barassistant:8080/;
63+
}
64+
location /search/ {
65+
# enable the next two lines for http auth
66+
#auth_basic "Restricted";
67+
#auth_basic_user_file /config/nginx/.htpasswd;
68+
69+
# enable for ldap auth (requires ldap-server.conf in the server block)
70+
#include /config/nginx/ldap-location.conf;
71+
72+
# enable for Authelia (requires authelia-server.conf in the server block)
73+
#include /config/nginx/authelia-location.conf;
74+
75+
# enable for Authentik (requires authentik-server.conf in the server block)
76+
#include /config/nginx/authentik-location.conf;
77+
78+
include /config/nginx/proxy.conf;
79+
include /config/nginx/resolver.conf;
80+
proxy_pass http://meilisearch:7700/;
81+
}
82+
}

0 commit comments

Comments
 (0)