feat(google-cloud): Add docs for how to use OHIF against Google Cloud Healthcare
This commit is contained in:
1 parent
416b4ade38
commit
6586c03af1
6 files changed
+107
-17
No files matched your search
@@ -0,0 +1,44 @@
|
||||
worker_processes 1;
|
||||
load_module modules/ngx_http_perl_module.so;
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
env CLIENT_ID;
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
perl_set $client_id 'sub { return $ENV{"CLIENT_ID"}; }';
|
||||
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
access_log off;
|
||||
error_log off;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
location / {
|
||||
try_files $uri @index;
|
||||
}
|
||||
|
||||
location @index {
|
||||
add_header Cache-Control no-cache;
|
||||
expires 0;
|
||||
try_files /index.html =404;
|
||||
}
|
||||
|
||||
location ~ /(favicon.ico|favicon.png|robots.txt)$ {
|
||||
expires 1y;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
location /gcloud-client-id {
|
||||
return 200 '${client_id}';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user