I am running geoserver on apache and so far the url resolves like this: https://geoserver.mydomain.net/geoserver/ ... My apache virtual host configuration looks like this:
<VirtualHost geoserver.mydomain.net:443>
ServerName geoserver.mydomain.net
<Directory /apache/htdocs>
Require all granted
Options None
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
ProxyRequests On
ProxyPreserveHost On
<Proxy />
Require all granted
Options none
</Proxy>
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
#SSL certbot stuff
</VirtualHost>
and the proxy base url in the global settings of geoserver is set to
https://geoserver.mydomain.net/geoserver/
However when changing it to
https://geoserver.mydomain.net/
with the same apache configuration, AND/OR changing the ProxyPass lines to
ProxyPass / http://localhost:8080/geoserver
ProxyPassReverse / http://localhost:8080/geoserver
breaks either the admin interface, the url for dependencies (like e.g. ol3.js), or the service url. After hours of trying different combinations I conclude that I must be overlooking some setting somewhere and I'd appreciate being pointed into the right direction!