Add preview endpoint to prod nginx conf

This commit is contained in:
Andrew Kingston 2022-08-23 08:50:36 +01:00
parent 4d03305cd0
commit bd27b8a01d
1 changed files with 5 additions and 0 deletions

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;