emmanuel
08/11/2020, 11:31 AMBen Davison
08/11/2020, 11:47 AMemmanuel
08/11/2020, 11:51 AMBen Davison
08/11/2020, 11:53 AMuser -> vpn -> kubernetes
So no one can access apollo from outside our network, but yes apollo is still accessible to everyone "inside" the networkemmanuel
08/11/2020, 11:56 AMBen Davison
08/11/2020, 12:00 PMemmanuel
08/11/2020, 12:00 PMBen Davison
08/11/2020, 12:02 PMemmanuel
08/11/2020, 12:05 PMBen Davison
08/11/2020, 12:08 PMemmanuel
08/11/2020, 12:08 PMBen Davison
08/11/2020, 1:03 PMOPTIONS
alsoemmanuel
08/11/2020, 1:04 PM/
OPTIONS
actually used?Ben Davison
08/11/2020, 2:48 PMemmanuel
08/11/2020, 2:49 PMlog_format custom '[$time_local] $http_x_forwarded_for - $remote_user - $remote_addr '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"';
server {
listen 8080;
access_log /dev/stdout custom;
server_name _;
location ^~ /graphql {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass_request_headers on;
proxy_http_version 1.1;
proxy_pass <http://prefect-service-core.prefect-service:4200/>;
}
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass_request_headers on;
proxy_http_version 1.1;
proxy_pass <http://prefect-service-ui.prefect-service:8080>;
}
}