From 29f30b5d388699c980d5821481e91b1062f52190 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 17 Dec 2018 13:49:45 +1300 Subject: [PATCH] docker/nginx*.conf: fix up indentation Stick to four spaces, no tabs. Signed-off-by: Paul Eggleton --- docker/nginx-ssl.conf | 28 ++++++++++++++-------------- docker/nginx.conf | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docker/nginx-ssl.conf b/docker/nginx-ssl.conf index 46cfde3..e27aef3 100644 --- a/docker/nginx-ssl.conf +++ b/docker/nginx-ssl.conf @@ -31,7 +31,7 @@ http { # path for static files root /usr/share/nginx/html; - return 301 https://layers.openembedded.org$request_uri; + return 301 https://layers.openembedded.org$request_uri; } server { @@ -44,20 +44,20 @@ http { # path for static files root /usr/share/nginx/html; - location /favicon.ico { - return 301 http://layers.openembedded.org/static/img/favicon.ico; - } + location /favicon.ico { + return 301 http://layers.openembedded.org/static/img/favicon.ico; + } - location /admin { - return 301 https://layers.openembedded.org$request_uri; - } + location /admin { + return 301 https://layers.openembedded.org$request_uri; + } location /accounts/login { - return 301 https://layers.openembedded.org$request_uri; + return 301 https://layers.openembedded.org$request_uri; } location / { - try_files $uri @proxy_to_app; + try_files $uri @proxy_to_app; } location @proxy_to_app { @@ -83,7 +83,7 @@ http { # path for static files root /usr/share/nginx/html; - return 301 https://layers.openembedded.org$request_uri; + return 301 https://layers.openembedded.org$request_uri; } server { @@ -97,12 +97,12 @@ http { # path for static files root /usr/share/nginx/html; - location /favicon.ico { - return 301 https://layers.openembedded.org/static/img/favicon.ico; - } + location /favicon.ico { + return 301 https://layers.openembedded.org/static/img/favicon.ico; + } location / { - try_files $uri @proxy_to_app; + try_files $uri @proxy_to_app; } location @proxy_to_app { diff --git a/docker/nginx.conf b/docker/nginx.conf index 7afc3a8..6901959 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -32,7 +32,7 @@ http { root /usr/share/nginx/html; location / { - try_files $uri @proxy_to_app; + try_files $uri @proxy_to_app; } location @proxy_to_app {