ntfy
This commit is contained in:
parent
ab44dd5abb
commit
da09df49b1
5 changed files with 40 additions and 21 deletions
|
|
@ -379,11 +379,7 @@ in
|
|||
/data/media/copyparty/srv
|
||||
accs:
|
||||
A: @admin
|
||||
[/noauth] # accessible without auth public
|
||||
/data/media/copyparty/srv/noauth
|
||||
accs:
|
||||
A: @admin
|
||||
g: *
|
||||
r: *
|
||||
[/dump]
|
||||
/data/media/copyparty/srv/dump
|
||||
flags:
|
||||
|
|
|
|||
|
|
@ -289,26 +289,29 @@ in
|
|||
}
|
||||
@copyparty host c.hailsatan.eu
|
||||
handle @copyparty {
|
||||
@proxy {
|
||||
header_regexp Cookie authentik_proxy_([a-zA-Z0-9])
|
||||
}
|
||||
handle @proxy {
|
||||
import podmanRedirWithAuth http://copyparty:3923
|
||||
}
|
||||
# @proxy {
|
||||
# header_regexp Cookie authentik_proxy_([a-zA-Z0-9])
|
||||
# }
|
||||
# handle @proxy {
|
||||
# import podmanRedirWithAuth http://copyparty:3923
|
||||
# }
|
||||
handle /shr/* {
|
||||
import podmanRedir http://copyparty:3923
|
||||
}
|
||||
@noauth {
|
||||
path_regexp ^\/(noauth(\/.*|)|[a-z.]+\.(css|js)|[1-9].png)$
|
||||
}
|
||||
@getoptionshead {
|
||||
method GET OPTIONS HEAD
|
||||
}
|
||||
handle @noauth {
|
||||
handle @getoptionshead {
|
||||
import podmanRedir http://copyparty:3923
|
||||
}
|
||||
handle /.cpr/* {
|
||||
import podmanRedir http://copyparty:3923
|
||||
}
|
||||
# @noauth {
|
||||
# path_regexp ^\/(noauth(\/.*|)|[a-z.]+\.(css|js)|[1-9].png)$
|
||||
# }
|
||||
# @getoptionshead {
|
||||
# method GET OPTIONS HEAD
|
||||
# }
|
||||
# handle @noauth {
|
||||
# handle @getoptionshead {
|
||||
# import podmanRedir http://copyparty:3923
|
||||
# }
|
||||
# }
|
||||
handle {
|
||||
import podmanRedirWithAuth http://copyparty:3923
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue