feat: add EdgeOne X-Origin-Token validation
This commit is contained in:
1 parent
8edc218dbf
commit
adcdf6e8c8
7 files changed
+27
-10
No files matched your search
@@ -1,3 +1,7 @@
|
||||
if ($allow_access = 0) {
|
||||
return 403;
|
||||
}
|
||||
|
||||
# set headers
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
Reference in new issue
Block a user