1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00

Merge pull request #7411 from Budibase/fix/preview-endpoint-prod

Add preview endpoint to prod nginx conf
This commit is contained in:
Andrew Kingston 2022-08-23 09:12:59 +01:00 committed by GitHub
commit 98c624da83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,6 +85,10 @@ http {
proxy_pass http://$apps:4002;
}
location /preview {
proxy_pass http://$apps:4002;
}
location = / {
proxy_pass http://$apps:4002;
}
@ -94,6 +98,7 @@ http {
proxy_pass http://$watchtower:8080;
}
{{/if}}
location ~ ^/(builder|app_) {
proxy_http_version 1.1;
proxy_set_header Connection $connection_upgrade;