From 79bddba2e085849c957bd04df030a21b6e6e28e9 Mon Sep 17 00:00:00 2001 From: Evangelos Foutras <evangelos@foutrelis.com> Date: Sat, 6 Aug 2022 16:27:53 +0300 Subject: [PATCH] rebuilderd: re-indent nginx configuration Remove a few stray TABs and correct double-indented lines. --- roles/rebuilderd/templates/nginx.d.conf.j2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/roles/rebuilderd/templates/nginx.d.conf.j2 b/roles/rebuilderd/templates/nginx.d.conf.j2 index 78156a964..7c466a8a0 100644 --- a/roles/rebuilderd/templates/nginx.d.conf.j2 +++ b/roles/rebuilderd/templates/nginx.d.conf.j2 @@ -42,19 +42,19 @@ server { root {{ rebuilder_website_loc }}; location ~* (css|js|svg)$ { - expires 30d; - add_header Pragma public; - add_header Cache-Control "public, must-revalidate, proxy-revalidate"; + expires 30d; + add_header Pragma public; + add_header Cache-Control "public, must-revalidate, proxy-revalidate"; } location /api/ { - proxy_set_header X-Real-IP $remote_addr; - proxy_pass http://127.0.0.1:8484; + proxy_set_header X-Real-IP $remote_addr; + proxy_pass http://127.0.0.1:8484; } location = /api/v0/build/report { - client_max_body_size 25M; - proxy_set_header X-Real-IP $remote_addr; - proxy_pass http://127.0.0.1:8484; + client_max_body_size 25M; + proxy_set_header X-Real-IP $remote_addr; + proxy_pass http://127.0.0.1:8484; } } -- GitLab