We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bca6034 commit 2e1105bCopy full SHA for 2e1105b
docker-config/nginx/conf/includes/locations/opencpu.conf
@@ -3,7 +3,9 @@ location /ocpu/ {
3
add_header Strict-Transport-Security "max-age=0; includeSubdomains;";
4
add_header Cache-Control "no-store, no-cache, must-revalidate";
5
expires -1;
6
- proxy_pass http://opencpu:80/;
+ proxy_set_header Host $host;
7
+ proxy_set_header X-Real-IP $remote_addr;
8
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
9
+ proxy_set_header X-Forwarded-Proto $scheme;
10
+ proxy_pass http://opencpu:80/ocpu/;
11
}
-
docker-config/opencpu/Dockerfile
@@ -1 +1,4 @@
1
FROM okgreece/opencpu-docker-obeu
2
+
+#update the algorithms
+RUN R < libraries.R --no-save
0 commit comments