amethyst 0018
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
# WARNING: This is an alpha spec of NSCL 2.0!!
|
||||
|
||||
host example.com {
|
||||
host 192.168.1.196 {
|
||||
location /secrets {
|
||||
root:/var/www/html/hidden
|
||||
whitelist-ua:"Mozilla/5.0 (X11; Linux x86_64) Gecko/20100101 Firefox/149.0 Furfox/1.0"
|
||||
whitelist-ip:123.45.67.89
|
||||
}
|
||||
directory:/home/nova/Downloads/test/html
|
||||
allowed-methods:GET
|
||||
block-ip:match-ip("192.168",2)
|
||||
@@ -25,6 +30,7 @@ globals {
|
||||
https:1
|
||||
port:8080
|
||||
https-port:8443
|
||||
allow-localhost:1
|
||||
global-key:/home/nova/Downloads/test/key.pem
|
||||
global-cert:/home/nova/Downloads/test/cert.pem
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user