Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a simple way to enable CORS with this image? #107

Closed
spydmobile opened this issue May 3, 2022 · 3 comments
Closed

Is there a simple way to enable CORS with this image? #107

spydmobile opened this issue May 3, 2022 · 3 comments
Assignees
Labels

Comments

@spydmobile
Copy link

Hi I noticed there is a geoserver.conf, but dont know what it is for, I am trying to enable CORS for this image.

@randomorder randomorder self-assigned this May 3, 2022
@randomorder
Copy link
Member

Hi @spydmobile

geoserver.conf is the configuration file for nginx and in that ocnfiguration file CORS is enabled by default. Use you the docker-compose.yml file in the repository to bring up the whole stack (geoserver, postgresql, nginx) and CORS will be enabled

@spydmobile
Copy link
Author

geoserver.conf is the configuration file for nginx and in that ocnfiguration file CORS is enabled by default. Use you the docker-compose.yml file in the repository to bring up the whole stack (geoserver, postgresql, nginx) and CORS will be enabled

Thank you! I am not using nginx or postgress, but I will see if can make things work knowing that geoserver.conf is for nginx (I use a broader NGINX proxy manager).

@spydmobile
Copy link
Author

@randomorder Grazie Mille!
That was what i needed to get my custom stack working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants