Skip to content

Commit

Permalink
Convert tabs to spaces in Nginx configuration file (standardize)
Browse files Browse the repository at this point in the history
  • Loading branch information
eecavanna committed Dec 13, 2024
1 parent 2e0ebf8 commit 29cb192
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .docker/dev.nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,42 @@
events {}

http {
server {
listen 80;
server {
listen 80;

# Legacy documentation.
location /legacy/ {
proxy_pass http://legacy-nmdc-documentation:8000/;
}
location /legacy/ {
proxy_pass http://legacy-nmdc-documentation:8000/;
}

# Redirect `/legacy` (exact) to `/legacy/`.
location = /legacy {
rewrite ^ $scheme://$http_host/legacy/ redirect;
}

# Runtime documentation.
location /runtime/ {
proxy_pass http://runtime-documentation:8000/;
}
location /runtime/ {
proxy_pass http://runtime-documentation:8000/;
}

# Redirect `/runtime` (exact) to `/runtime/`.
location = /runtime {
rewrite ^ $scheme://$http_host/runtime/ redirect;
}

# Workflow documentation.
location /workflows/ {
proxy_pass http://workflow-documentation:8000/;
}
location /workflows/ {
proxy_pass http://workflow-documentation:8000/;
}

# Redirect `/workflows` (exact) to `/workflows/`.
location = /workflows {
rewrite ^ $scheme://$http_host/workflows/ redirect;
}

# Current NMDC documentation.
location / {
proxy_pass http://nmdc-documentation:8000/;
}
}
location / {
proxy_pass http://nmdc-documentation:8000/;
}
}
}

0 comments on commit 29cb192

Please sign in to comment.