Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added nginx reverse proxy example config #21340

Merged
merged 2 commits into from
Jan 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion docs/operator-guides/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,23 @@ Deploy Airbyte Open Source in a private network or use a firewall to filter whic
You can secure access to Airbyte using the following methods:

- Deploy Airbyte in a private network or use a firewall to filter which IP is allowed to access your host.
- Deploy Airbyte behind a reverse proxy and handle the access control on the reverse proxy side.
- Deploy Airbyte behind a reverse proxy and handle the access control and SSL encryption on the reverse proxy side.
```
# Example nginx reverse proxy config
server {
listen 443 ssl;
server_name airbyte.<your-domain>.com;
client_max_body_size 200M; # required for Airbyte API
ssl_certificate <path-to-your-cert>.crt.pem;
ssl_certificate_key <path-to-your-key>.key.pem;

location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Cookie $http_ccokie; # if you use Airbytes basic auth
proxy_read_timeout 3600; # set a number in seconds suitable for you
}
}
```
- Change the default username and password in your environment's `.env` file:
```
# Proxy Configuration
Expand Down