eindelijk weer eens een push
This commit is contained in:
1 parent
01cff8e165
commit
ff21c258e0
2747 files changed
+302316
-131101
No files matched your search
@@ -0,0 +1,23 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
add_header Cache-Control "no-store";
|
||||
}
|
||||
|
||||
# Proxies CrateDB to avoid CORS — browser calls /cratedb/_sql
|
||||
location /cratedb/ {
|
||||
proxy_pass http://crate-ui:4200/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
add_header Access-Control-Allow-Origin "*";
|
||||
add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";
|
||||
add_header Access-Control-Allow-Headers "Content-Type";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user