Skip to content

Commit 22a4a5c

Browse files
authored
Merge pull request #5 from linuxserver/master
[pull] master from linuxserver:master
2 parents d5c3676 + e2a28c0 commit 22a4a5c

20 files changed

+694
-8
lines changed

.github/workflows/check_samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/[email protected].1
15+
uses: actions/[email protected].6
1616

1717
- name: Check Allowed File Names
1818
run: |
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Version 2023/05/31
2+
# make sure that your actual-server container is named actual-server
3+
# make sure that your dns has a cname set for actual-server
4+
5+
server {
6+
listen 443 ssl http2;
7+
listen [::]:443 ssl http2;
8+
9+
server_name actual-server.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
14+
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
17+
18+
# enable for Authelia (requires authelia-location.conf in the location block)
19+
#include /config/nginx/authelia-server.conf;
20+
21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
24+
location / {
25+
# enable the next two lines for http auth
26+
#auth_basic "Restricted";
27+
#auth_basic_user_file /config/nginx/.htpasswd;
28+
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
31+
32+
# enable for Authelia (requires authelia-server.conf in the server block)
33+
#include /config/nginx/authelia-location.conf;
34+
35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
38+
include /config/nginx/proxy.conf;
39+
include /config/nginx/resolver.conf;
40+
set $upstream_app actual-server;
41+
set $upstream_port 5006;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
}

atuin.subdomain.conf.sample

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
## Version 2024/03/24
2+
# make sure that your atuin container is named atuin
3+
# make sure that your dns has a cname set for atuin
4+
5+
server {
6+
listen 443 ssl http2;
7+
listen [::]:443 ssl http2;
8+
9+
server_name atuin.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
14+
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
17+
18+
# enable for Authelia (requires authelia-location.conf in the location block)
19+
#include /config/nginx/authelia-server.conf;
20+
21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
24+
location / {
25+
# enable the next two lines for http auth
26+
#auth_basic "Restricted";
27+
#auth_basic_user_file /config/nginx/.htpasswd;
28+
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
31+
32+
# enable for Authelia (requires authelia-server.conf in the server block)
33+
#include /config/nginx/authelia-location.conf;
34+
35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
38+
include /config/nginx/proxy.conf;
39+
include /config/nginx/resolver.conf;
40+
set $upstream_app atuin;
41+
set $upstream_port 8888;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
}
45+
}

flaresolverr.subdomain.conf.sample

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Version 2024/01/19
2+
# make sure that your flaresolverr container is named flaresolverr
3+
# make sure that your dns has a cname set for flaresolverr
4+
5+
server {
6+
listen 443 ssl http2;
7+
listen [::]:443 ssl http2;
8+
9+
server_name flaresolverr.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
14+
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
17+
18+
# enable for Authelia (requires authelia-location.conf in the location block)
19+
#include /config/nginx/authelia-server.conf;
20+
21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
24+
location / {
25+
# enable the next two lines for http auth
26+
#auth_basic "Restricted";
27+
#auth_basic_user_file /config/nginx/.htpasswd;
28+
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
31+
32+
# enable for Authelia (requires authelia-server.conf in the server block)
33+
#include /config/nginx/authelia-location.conf;
34+
35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
38+
include /config/nginx/proxy.conf;
39+
include /config/nginx/resolver.conf;
40+
set $upstream_app flaresolverr;
41+
set $upstream_port 8191;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
}

flaresolverr.subfolder.conf.sample

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## Version 2024/01/19
2+
# make sure that your flaresolverr container is named flaresolverr
3+
# make sure that sonarr is set to work with the base url /flaresolverr/
4+
5+
location ^~ /flaresolverr {
6+
# enable the next two lines for http auth
7+
#auth_basic "Restricted";
8+
#auth_basic_user_file /config/nginx/.htpasswd;
9+
10+
# enable for ldap auth (requires ldap-server.conf in the server block)
11+
#include /config/nginx/ldap-location.conf;
12+
13+
# enable for Authelia (requires authelia-server.conf in the server block)
14+
#include /config/nginx/authelia-location.conf;
15+
16+
# enable for Authentik (requires authentik-server.conf in the server block)
17+
#include /config/nginx/authentik-location.conf;
18+
19+
include /config/nginx/proxy.conf;
20+
include /config/nginx/resolver.conf;
21+
set $upstream_app flaresolverr;
22+
set $upstream_port 8191;
23+
set $upstream_proto http;
24+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
25+
26+
}

forgejo.subdomain.conf.sample

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
## Version 2024/04/20
2+
# make sure that your forgejo container is named forgejo
3+
# make sure that your dns has a cname set for forgejo
4+
# edit the following parameters in /data/forgejo/conf/app.ini or set as ENV vars in your container
5+
# [server]
6+
# SSH_DOMAIN = forgejo.example.com
7+
# ROOT_URL = https://forgejo.example.com/
8+
# DOMAIN = forgejo.example.com
9+
10+
server {
11+
listen 443 ssl http2;
12+
listen [::]:443 ssl http2;
13+
14+
server_name forgejo.*;
15+
16+
include /config/nginx/ssl.conf;
17+
18+
client_max_body_size 0;
19+
20+
# enable for ldap auth (requires ldap-location.conf in the location block)
21+
#include /config/nginx/ldap-server.conf;
22+
23+
# enable for Authelia (requires authelia-location.conf in the location block)
24+
#include /config/nginx/authelia-server.conf;
25+
26+
# enable for Authentik (requires authentik-location.conf in the location block)
27+
#include /config/nginx/authentik-server.conf;
28+
29+
location / {
30+
# enable the next two lines for http auth
31+
#auth_basic "Restricted";
32+
#auth_basic_user_file /config/nginx/.htpasswd;
33+
34+
# enable for ldap auth (requires ldap-server.conf in the server block)
35+
#include /config/nginx/ldap-location.conf;
36+
37+
# enable for Authelia (requires authelia-server.conf in the server block)
38+
#include /config/nginx/authelia-location.conf;
39+
40+
# enable for Authentik (requires authentik-server.conf in the server block)
41+
#include /config/nginx/authentik-location.conf;
42+
43+
include /config/nginx/proxy.conf;
44+
include /config/nginx/resolver.conf;
45+
set $upstream_app forgejo;
46+
set $upstream_port 3000;
47+
set $upstream_proto http;
48+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
49+
50+
}
51+
52+
location ~ (/forgejo)?/info/lfs {
53+
include /config/nginx/proxy.conf;
54+
include /config/nginx/resolver.conf;
55+
set $upstream_app forgejo;
56+
set $upstream_port 3000;
57+
set $upstream_proto http;
58+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
59+
60+
}
61+
}

forgejo.subfolder.conf.sample

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## Version 2024/04/20
2+
# make sure that your forgejo container is named forgejo
3+
# make sure that forgejo is set to work with the base url /forgejo/
4+
# The following parameters in /data/forgejo/conf/app.ini should be edited to match your setup
5+
# or set as ENV vars in your container
6+
# [server]
7+
# SSH_DOMAIN = example.com:2222
8+
# ROOT_URL = https://example.com/forgejo/
9+
# DOMAIN = example.com
10+
11+
location /forgejo {
12+
return 301 $scheme://$host/forgejo/;
13+
}
14+
15+
location ^~ /forgejo/ {
16+
include /config/nginx/proxy.conf;
17+
include /config/nginx/resolver.conf;
18+
set $upstream_app forgejo;
19+
set $upstream_port 3000;
20+
set $upstream_proto http;
21+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
22+
23+
rewrite /forgejo(.*) $1 break;
24+
}

gatus.subdomain.conf.sample

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
## Version 2024/02/27
2+
# make sure that your gatus container is named gatus
3+
# make sure that your dns has a cname set for gatus
4+
5+
server {
6+
listen 443 ssl http2;
7+
listen [::]:443 ssl http2;
8+
9+
server_name gatus.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
14+
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
17+
18+
# enable for Authelia (requires authelia-location.conf in the location block)
19+
#include /config/nginx/authelia-server.conf;
20+
21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
24+
location / {
25+
# enable the next two lines for http auth
26+
#auth_basic "Restricted";
27+
#auth_basic_user_file /config/nginx/.htpasswd;
28+
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
31+
32+
# enable for Authelia (requires authelia-server.conf in the server block)
33+
#include /config/nginx/authelia-location.conf;
34+
35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
38+
include /config/nginx/proxy.conf;
39+
include /config/nginx/resolver.conf;
40+
set $upstream_app gatus;
41+
set $upstream_port 8080;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
47+
}

gatus.subfolder.conf.sample

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## Version 2024/02/27
2+
# make sure that your <container_name> container is named <container_name>
3+
# make sure that <container_name> is set to work with the base url /<container_name>/
4+
5+
6+
location /gatus {
7+
return 301 $scheme://$host/gatus/;
8+
}
9+
10+
location ^~ /gatus/ {
11+
# enable the next two lines for http auth
12+
#auth_basic "Restricted";
13+
#auth_basic_user_file /config/nginx/.htpasswd;
14+
15+
# enable for ldap auth (requires ldap-server.conf in the server block)
16+
#include /config/nginx/ldap-location.conf;
17+
18+
# enable for Authelia (requires authelia-server.conf in the server block)
19+
#include /config/nginx/authelia-location.conf;
20+
21+
# enable for Authentik (requires authentik-server.conf in the server block)
22+
#include /config/nginx/authentik-location.conf;
23+
24+
include /config/nginx/proxy.conf;
25+
include /config/nginx/resolver.conf;
26+
set $upstream_app gatus;
27+
set $upstream_port 8080;
28+
set $upstream_proto http;
29+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
30+
31+
}
32+

homepage.subdomain.conf.sample

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
## Version 2024/04/09
2+
# make sure that your homepage container is named homepage
3+
# make sure that your dns has a cname set for homepage
4+
5+
server {
6+
listen 443 ssl http2;
7+
listen [::]:443 ssl http2;
8+
9+
server_name homepage.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
14+
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
17+
18+
# enable for Authelia (requires authelia-location.conf in the location block)
19+
#include /config/nginx/authelia-server.conf;
20+
21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
24+
location / {
25+
# enable the next two lines for http auth
26+
#auth_basic "Restricted";
27+
#auth_basic_user_file /config/nginx/.htpasswd;
28+
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
31+
32+
# enable for Authelia (requires authelia-server.conf in the server block)
33+
#include /config/nginx/authelia-location.conf;
34+
35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
38+
include /config/nginx/proxy.conf;
39+
include /config/nginx/resolver.conf;
40+
set $upstream_app homepage;
41+
set $upstream_port 3000;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
# Clear Authorization Header if you are using http auth and normal homepage auth
46+
#proxy_set_header Authorization "";
47+
48+
}
49+
50+
}

0 commit comments

Comments
 (0)