Migrate calvana API into quikcue-site: add Node.js server, update Dockerfile, add migrated HTML pages
This commit is contained in:
@@ -12,6 +12,15 @@ server {
|
||||
|
||||
absolute_redirect off;
|
||||
|
||||
# Proxy /api to quikcue-api service (ships/oops live ship log)
|
||||
location /api/ {
|
||||
proxy_pass http://quikcue-api:3001;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# Redirect /work/ to first case study (no bare index = was 403)
|
||||
location = /work/ {
|
||||
return 301 /work/charityright/;
|
||||
|
||||
Reference in New Issue
Block a user