mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Add a special header for authlib-injector for / path
This commit is contained in:
@@ -35,6 +35,10 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
if ($request_uri = '/') {
|
||||
more_set_headers "X-Authlib-Injector-API-Location: /api/authlib-injector";
|
||||
}
|
||||
|
||||
root $frontend_path;
|
||||
access_log off;
|
||||
etag on;
|
||||
|
@@ -1,3 +1,5 @@
|
||||
load_module /usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so;
|
||||
|
||||
user nginx;
|
||||
worker_processes auto;
|
||||
|
||||
|
Reference in New Issue
Block a user