mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
docker/nginx*.conf: fix up indentation
Stick to four spaces, no tabs. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
2afc25cb57
commit
29f30b5d38
|
@ -31,7 +31,7 @@ http {
|
||||||
# path for static files
|
# path for static files
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
return 301 https://layers.openembedded.org$request_uri;
|
return 301 https://layers.openembedded.org$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
@ -44,20 +44,20 @@ http {
|
||||||
# path for static files
|
# path for static files
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
location /favicon.ico {
|
location /favicon.ico {
|
||||||
return 301 http://layers.openembedded.org/static/img/favicon.ico;
|
return 301 http://layers.openembedded.org/static/img/favicon.ico;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /admin {
|
location /admin {
|
||||||
return 301 https://layers.openembedded.org$request_uri;
|
return 301 https://layers.openembedded.org$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /accounts/login {
|
location /accounts/login {
|
||||||
return 301 https://layers.openembedded.org$request_uri;
|
return 301 https://layers.openembedded.org$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri @proxy_to_app;
|
try_files $uri @proxy_to_app;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @proxy_to_app {
|
location @proxy_to_app {
|
||||||
|
@ -83,7 +83,7 @@ http {
|
||||||
# path for static files
|
# path for static files
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
return 301 https://layers.openembedded.org$request_uri;
|
return 301 https://layers.openembedded.org$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
@ -97,12 +97,12 @@ http {
|
||||||
# path for static files
|
# path for static files
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
location /favicon.ico {
|
location /favicon.ico {
|
||||||
return 301 https://layers.openembedded.org/static/img/favicon.ico;
|
return 301 https://layers.openembedded.org/static/img/favicon.ico;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri @proxy_to_app;
|
try_files $uri @proxy_to_app;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @proxy_to_app {
|
location @proxy_to_app {
|
||||||
|
|
|
@ -32,7 +32,7 @@ http {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri @proxy_to_app;
|
try_files $uri @proxy_to_app;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @proxy_to_app {
|
location @proxy_to_app {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user