mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
9a5ba7376e
commit
283087d2ce
9
etc/conf/locations.conf
Normal file
9
etc/conf/locations.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header.conf;
|
||||
if ($http_user_agent ~* "^Wget") {
|
||||
proxy_pass http://contexts;
|
||||
break;
|
||||
}
|
||||
return 302 https://$server_name/;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user