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 {