Skip to content
Snippets Groups Projects
Commit 88f9bc2d authored by egon w. stemle's avatar egon w. stemle :robot:
Browse files

Fix #41

- ingress also listens on port 80
- nginx redirects to https except for path: repository/oai
parent 3beb853b
No related branches found
No related tags found
No related merge requests found
upstream tomcats {
server dspace:8009;
keepalive 10;
}
server dspace:8009;
keepalive 10;
}
server {
listen 80;
listen [::]:80;
server_name clarin.eurac.edu;
# return 301 https://$server_name$request_uri;
location /repository/oai {
client_body_buffer_size 32K;
client_max_body_size 4G;
sendfile on;
send_timeout 300s;
ajp_keep_conn on;
ajp_pass tomcats;
}
location / {
return 301 https://$server_name$request_uri;
}
}
server {
......
......@@ -9,6 +9,13 @@ metadata:
namespace: dspace
spec:
rules:
- host: clarin.eurac.edu
http:
paths:
- backend:
serviceName: nginx
servicePort: 80
path: /repository/oai
- host: clarin.eurac.edu
http:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment