@@ -148,37 +148,38 @@ gateway:
148148 readOnly : true
149149
150150 nginxConfig :
151- file : |
152- worker_processes 5;
153- error_log /dev/stderr;
154- pid /tmp/nginx.pid;
155- worker_rlimit_nofile 8192;
156- events {
157- worker_connections 4096;
158- }
159- http {
160- client_body_temp_path /tmp/client_temp;
161- proxy_temp_path /tmp/proxy_temp_path;
162- fastcgi_temp_path /tmp/fastcgi_temp;
163- uwsgi_temp_path /tmp/uwsgi_temp;
164- scgi_temp_path /tmp/scgi_temp;
165- default_type application/octet-stream;
166- log_format main '{{ print "$" }}remote_addr - {{ print "$" }}remote_user [{{ print "$" }}time_local] "{{ print "$" }}request" {{ print "$" }}status';
167- access_log /dev/stderr main;
168- server {
169- listen 8080;
170- location ~ ^/(loki/api/v1/push|loki/api/v1/tail|ready|log) {
171- proxy_pass http://monitoring-loki-distributor.observability.svc.cluster.local:3100;
172- proxy_http_version 1.1;
173- }
174- location / {
175- auth_basic "Loki Tenant Authentication";
176- auth_basic_user_file /etc/nginx/secrets/.htpasswd;
177- proxy_pass http://monitoring-loki-query-frontend.observability.svc.cluster.local:3100;
178- proxy_http_version 1.1;
151+ file : |2
152+
153+ worker_processes 5;
154+ error_log /dev/stderr;
155+ pid /tmp/nginx.pid;
156+ worker_rlimit_nofile 8192;
157+ events {
158+ worker_connections 4096;
159+ }
160+ http {
161+ client_body_temp_path /tmp/client_temp;
162+ proxy_temp_path /tmp/proxy_temp_path;
163+ fastcgi_temp_path /tmp/fastcgi_temp;
164+ uwsgi_temp_path /tmp/uwsgi_temp;
165+ scgi_temp_path /tmp/scgi_temp;
166+ default_type application/octet-stream;
167+ log_format main '{{ print "$" }}remote_addr - {{ print "$" }}remote_user [{{ print "$" }}time_local] "{{ print "$" }}request" {{ print "$" }}status';
168+ access_log /dev/stderr main;
169+ server {
170+ listen 8080;
171+ location ~ ^/(loki/api/v1/push|loki/api/v1/tail|ready|log) {
172+ proxy_pass http://monitoring-loki-distributor.observability.svc.cluster.local:3100;
173+ proxy_http_version 1.1;
174+ }
175+ location / {
176+ auth_basic "Loki Tenant Authentication";
177+ auth_basic_user_file /etc/nginx/secrets/.htpasswd;
178+ proxy_pass http://monitoring-loki-query-frontend.observability.svc.cluster.local:3100;
179+ proxy_http_version 1.1;
180+ }
179181 }
180182 }
181- }
182183
183184backend :
184185 replicas : 0
0 commit comments