Skip to content

Commit 2382bdd

Browse files
authored
Create oogway.subdomain.conf.sample
Adding oogway webserver config
1 parent 053e245 commit 2382bdd

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

oogway.subdomain.conf.sample

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## Version 2023/03/16
2+
# make sure that your oogway container is named oogway
3+
# Oogway is not usable for subfolder structures
4+
# https://github.com/emvi/oogway
5+
6+
7+
server {
8+
listen 443 ssl;
9+
listen [::]:443 ssl;
10+
11+
server_name oogway.*;
12+
13+
include /config/nginx/ssl.conf;
14+
15+
client_max_body_size 0;
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+
set $upstream_app oogway;
43+
set $upstream_port 8080;
44+
set $upstream_proto http;
45+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
46+
47+
}
48+
}

0 commit comments

Comments
 (0)