Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #595 from SELab-2/update-guide
Browse files Browse the repository at this point in the history
update guide
  • Loading branch information
stijndcl committed May 22, 2022
2 parents 45718d5 + 743f30f commit d68bc58
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions files/sysadmin_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,12 +386,13 @@ server {
try_files $uri $uri/ =404;
}
location = /api {
return 302 /api/;
}
location /api/ {
rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://backend/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
```
Expand Down

0 comments on commit d68bc58

Please sign in to comment.