Skip to content

Commit

Permalink
Document production sw-server setup
Browse files Browse the repository at this point in the history
ref #791
  • Loading branch information
frostburn committed Jul 22, 2024
1 parent 4692663 commit f88d375
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hosting/scaleworkshop.nginx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ server {
add_header Access-Control-Allow-Origin *;
}

location /api/scale {
proxy_set_header Host $host;
# Other headers omitted

proxy_pass http://127.0.0.1:17461/scale;
}

location /api/scale/(.*) {
proxy_set_header Host $host;
# Other headers omitted

proxy_pass http://127.0.0.1:17461/scale/$1;
}

location / {
root /var/www/scaleworkshop;
index index.html;
Expand Down

0 comments on commit f88d375

Please sign in to comment.