[GeoNode-users] CORS error in Geonode Docker

Alessio Fabiani alessio.fabiani at geo-solutions.it
Thu Jun 3 07:39:45 PDT 2021


I guess in this particular case you need to enable CORS on GeoServer
directly.

However I strongly suggest to proxy all the IPs through an HTTPD service
like NGINX and manage the CORS headers there.

Il giorno mer 2 giu 2021 alle ore 10:09 irland fardani <irlan128 at gmail.com>
ha scritto:

> Dear All,
> I installed geonode and geoserver 3.2 via docker, i have a problem with
> CORS.
> after i modified the .env like this :
>
> -DGEOSERVER_CSRF_DISABLED=true
> CORS_ORIGIN_ALLOW_ALL=True
> X_FRAME_OPTIONS=ALLOW-FROM ALL
>
> [image: image.png]
> [image: image.png]
> I still  get an error because of the CORS policy
> I can not modify the manual web.xml in geoserver, it is the way to edit
> web.xml in docker?
> or any setting that i have not set
>
> Thanks
>
> [image: image.png]
> --
> Irland Fardani M.T.
> +628562257785
> +6281223261345
> Hatur Nuhun
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>


-- 

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20210603/94977db9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 451478 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20210603/94977db9/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 22812 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20210603/94977db9/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 38935 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20210603/94977db9/attachment-0005.png>


More information about the geonode-users mailing list