1

I have a GeoServer Service enable on my Windows 10 and I install the extension printing.

This URL http://localhost:8010/geoserver/pdf/info.json give me this configuration

{[...],"printURL":"http://localhost:8010/geoserver/pdf/print.pdf","createURL":"http://localhost:8010/geoserver/pdf/create.json"}

I don't know how to change/configure domain name.

I want to change http://localhost:8010/ by https://mydomain.org/

  • Why don't you set the main Geoserver domain to that? – bugmenot123 Apr 9 at 8:17
  • Where can i do that ? In global settings, i put my domain in proxy URL, but doesn't change anything. – Tackacoder Apr 9 at 8:22
3

I found it.

It's the parameter proxyBaseUrl to add in the Geoserver/data_dir/printing/config.yaml file. List of configuration available here

proxyBaseUrl: https://MY_DOMAIN/geoserver/pdf

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.