log_format atlas_admin '$remote_addr "$request_method $uri" $status $request_time'; server { listen 8080; root /usr/share/nginx/html; access_log /var/log/nginx/access.log atlas_admin; include /etc/nginx/admin-identity/*.conf; location = /healthz { return 200; } location ^~ /api/admin/ { proxy_pass ${ATLAS_GATEWAY_URL}; proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto $scheme; } location = /api { return 404; } location ^~ /api/ { return 404; } location /assets/ { try_files $uri =404; add_header Cache-Control "public, max-age=31536000, immutable"; } location / { add_header Cache-Control "no-cache"; try_files $uri /index.html; } }