File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 1
- ## Version 2025/01/17
1
+ ## Version 2025/02/21
2
2
# make sure that your asciinema container is named asciinema
3
3
# make sure that your dns has a cname set for asciinema
4
4
@@ -42,4 +42,26 @@ server {
42
42
set $upstream_proto http;
43
43
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44
44
}
45
+
46
+ location ~ (/asciinema)?/dashboard {
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
+ set $upstream_app asciinema;
63
+ set $upstream_port 4002;
64
+ set $upstream_proto http;
65
+ proxy_pass $upstream_proto://$upstream_app:$upstream_port;
66
+ }
45
67
}
You can’t perform that action at this time.
0 commit comments