Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

330
Visualizações
geoserver and apache: how to reduce the url down to host name only and remove the /geoserver/ from the url's path respectivly?

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!

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda