{"id":558,"date":"2008-07-24T21:08:01","date_gmt":"2008-07-25T00:08:01","guid":{"rendered":"http:\/\/www.fernandoquadro.com.br\/html\/?p=558"},"modified":"2010-02-25T14:51:20","modified_gmt":"2010-02-25T17:51:20","slug":"configurando-o-geoserver-para-rodar-com-um-proxy","status":"publish","type":"post","link":"https:\/\/www.fernandoquadro.com.br\/html\/2008\/07\/24\/configurando-o-geoserver-para-rodar-com-um-proxy\/","title":{"rendered":"Configurando o GeoServer para rodar com um proxy"},"content":{"rendered":"<p>Voc\u00ea agora pode configurar o GeoServer para que a requisi\u00e7\u00e3o GetCapabilities antes de ser enviada para o usu\u00e1rio passe por um proxy. <\/p>\n<p>A partir das \u00faltimas vers\u00f5es do GeoServer (1.6.x), isto se tornou muito f\u00e1cil de fazer, infelizmente quando eu precisei dessa funcionalidade, eu n\u00e3o a conhecia, e ent\u00e3o tive que implementar o meu proxy na m\u00e3o utilizando a biblioteca Geotools.<\/p>\n<p>Para configurar o proxy, adicione estas linhas no seu <strong>web.xml <\/strong>(nas vers\u00f5es at\u00e9 1.5.x) :<br \/>\n<center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.fernandoquadro.com.br\/html\/wp-content\/uploads\/2008\/07\/base_url.png\" alt=\"\" title=\"\" width=\"500\" height=\"85\" class=\"alignnone size-full wp-image-566\" srcset=\"https:\/\/www.fernandoquadro.com.br\/html\/wp-content\/uploads\/2008\/07\/base_url.png 503w, https:\/\/www.fernandoquadro.com.br\/html\/wp-content\/uploads\/2008\/07\/base_url-300x51.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><br \/>\n<\/center><\/p>\n<p>Ap\u00f3s a vers\u00e3o 1.6.x, esta configura\u00e7\u00e3o foi movida para o arquivo <strong>services.xml<\/strong>, e voc\u00ea pode ent\u00e3o configur\u00e1-lo pelo browser ( http:\/\/localhost:8080\/geoserver\/config\/server.do ) o valor do PROXY_URL_BASE.<\/p>\n<p>Fonte: <a href=\"http:\/\/www.geoserver.org\" target=\"_blank\">GeoServer<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Voc\u00ea agora pode configurar o GeoServer para que a requisi\u00e7\u00e3o GetCapabilities antes de ser enviada para o usu\u00e1rio passe por um proxy. A partir das \u00faltimas vers\u00f5es do GeoServer (1.6.x), isto se tornou muito f\u00e1cil de fazer, infelizmente quando eu&#8230; <a class=\"more-link\" href=\"https:\/\/www.fernandoquadro.com.br\/html\/2008\/07\/24\/configurando-o-geoserver-para-rodar-com-um-proxy\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":275,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[208,223,59],"class_list":["post-558","post","type-post","status-publish","format-standard","hentry","category-geoserver","tag-geoserver","tag-gis","tag-proxy"],"_links":{"self":[{"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/posts\/558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/users\/275"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/comments?post=558"}],"version-history":[{"count":7,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/posts\/558\/revisions"}],"predecessor-version":[{"id":3554,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/posts\/558\/revisions\/3554"}],"wp:attachment":[{"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/media?parent=558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/categories?post=558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/tags?post=558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}