mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 01:04: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