inital working version
This commit is contained in:
10
nginx.conf
10
nginx.conf
@@ -46,5 +46,15 @@ http {
|
||||
expires 1y;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
# Typesense admin interface
|
||||
location /typesense/ {
|
||||
proxy_pass http://typesense:8108/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Typesense-API-Key $http_x_typesense_api_key;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user