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

Fix (redirect to) https://clarin.eurac.edu:8443/... not working

In certain situations, for example, when checking the "Other versions"
dropdown menu a request (possibly after a redirect) is made to
`port:8443`. Of course, this results in an error (because the
clarin-dspace is behind a reverse proxy).
```
OPTIONS https://clarin.eurac.edu:8443/repository/rest/handle/20.500.12124/6/refbox net::ERR_CONNECTION_TIMED_OUT
```

Here, we make sure tomcat will only redirect to `port:443` which is the
port the reverse proxy serves.
parent 7ea99ba6
No related branches found
No related tags found
No related merge requests found
......@@ -68,8 +68,8 @@
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
redirectPort="8443" />
URIEncoding="UTF-8"
redirectPort="443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
......@@ -89,7 +89,7 @@
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="443" />
<!-- An Engine represents the entry point (within Catalina) that processes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment