Skip to content

Commit f0ee916

Browse files
committed
fix: correct nginx env directive placement
- Move env directive from http block to main context - Fix nginx configuration error preventing container startup - Environment variables now properly accessible to nginx
1 parent c2e7c55 commit f0ee916

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

nginx.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Enable environment variable access
2+
env SEARCH_HIGHLIGHT_LIMIT;
3+
14
events {
25
worker_connections 1024;
36
}
@@ -6,9 +9,6 @@ http {
69
include /etc/nginx/mime.types;
710
default_type application/octet-stream;
811

9-
# Enable environment variable access
10-
env SEARCH_HIGHLIGHT_LIMIT;
11-
1212
server {
1313
listen 80;
1414
server_name localhost;

0 commit comments

Comments
 (0)