* init * bad copy/paste * move to top level * Revert "move to top level" This reverts commitaca3534d38. * attempt to wire up connector builder frontend to server * copy from octaviacli * fix connection to builder server * update * delete * Update * delete python-version * Revert "delete python-version" This reverts commitf9258a7755. * setup python * install python * rename * kube stuff * Install python * missing kube file * rename * Update files * Update bumpversion * install python * try with different entrypoint * rename container * point to docker-compose.yaml file * derp * copy acceptance_test.sh * copy from acceptance tests * delete cruft * update * remove application env * reset * reset to master * update * skip comprehensive incremental tests * Revert "skip comprehensive incremental tests" This reverts commit9cee657596. * reset to master * remove cruft * delete superfluous steps * update port to 8003 * reset to master * Update publish docker * move openapi spec to airbyte-connector-builder * point to openapi spec * dont expose the connector builder to localhost * reset FE components to master * Don't deploy the connector-builder * Revert "Don't deploy the connector-builder" This reverts commit3d157494cf. * Revert "Revert "Don't deploy the connector-builder"" This reverts commitbeac3d48f0. * comment out more things related to connector builder server * more attempts at removing the connector builder * comment out more things * Apply suggestions from code review Co-authored-by: Lake Mossman <lake@airbyte.io> * Update airbyte-webapp/src/config/configProviders.ts Co-authored-by: Lake Mossman <lake@airbyte.io> * update * rename * indent * Revert "move openapi spec to airbyte-connector-builder" This reverts commit57dda04723. * Revert "rename" This reverts commitb2d802b8fa. * Revert "Revert "rename"" This reverts commit91db24fd4a. * point to wrong file in case it fixes the build * point to right openapi file * Revert "Revert "move openapi spec to airbyte-connector-builder"" This reverts commite46a837454. * point to moved file * fix path * Update from master * newline * Add failing test * Revert "Add failing test" This reverts commited9fea09b5. * comment * update commented requires * Add a comment * 2022 * rename to connector-builder-server * typo Co-authored-by: lmossman <lake@airbyte.io>
55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
upstream api-server {
|
|
server $INTERNAL_API_HOST;
|
|
}
|
|
|
|
# upstream connector-builder-server { #FIXME: Uncomment this block when enabling the connector-builder
|
|
# server $CONNECTOR_BUILDER_API_HOST;
|
|
# }
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name localhost;
|
|
|
|
#charset koi8-r;
|
|
#access_log /var/log/nginx/host.access.log main;
|
|
|
|
add_header Content-Security-Policy "script-src * 'unsafe-inline'; worker-src self blob:;";
|
|
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
try_files $uri $uri/ /index.html;
|
|
|
|
sub_filter </head>
|
|
'</head><script language="javascript"\>
|
|
window.TRACKING_STRATEGY = "$TRACKING_STRATEGY";
|
|
window.AIRBYTE_VERSION = "$AIRBYTE_VERSION";
|
|
window.API_URL = "$API_URL";
|
|
</script>';
|
|
sub_filter_once on;
|
|
}
|
|
|
|
#error_page 404 /404.html;
|
|
|
|
# redirect server error pages to the static page /50x.html
|
|
#
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root /usr/share/nginx/html;
|
|
}
|
|
|
|
location /api/ {
|
|
fastcgi_read_timeout 1h;
|
|
proxy_read_timeout 1h;
|
|
client_max_body_size 200M;
|
|
proxy_pass http://api-server/api/;
|
|
}
|
|
|
|
#location /connector-builder-api/ { #FIXME: Uncomment this block when enabling the connector-builder
|
|
# fastcgi_read_timeout 1h;
|
|
# proxy_read_timeout 1h;
|
|
# client_max_body_size 200M;
|
|
# proxy_pass http://connector-builder-server/;
|
|
#}
|
|
}
|