Skip to content

Commit f672d26

Browse files
DOC - Add 'Access-Control-Allow-Origin' header in NGINX conf example
1 parent 6cf57fe commit f672d26

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/installation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You will have to download the Installer of Geotrek-rando and its customization f
4545
- Go in the root folder of your Geotrek-rando-v3-installer and run the Docker container with launching `docker compose up -d`
4646
- Your Geotrek-rando is now available at the address of your server on 8080 port (e.g. http://myserver:8080)
4747

48-
You can now serve what comes out of the default 8080 port. To configure NGINX, see below.
48+
You can now serve what comes out of the default 8080 port. To configure , see below.
4949

5050
If you want to have logs directly in terminal you can just run `docker compose up`. `ctrl`+`c` will exit the command and stop the container. That's why `docker compose up -d` is used in production to run the service in the background.
5151

@@ -73,6 +73,7 @@ server {
7373
proxy_cache_bypass $http_upgrade;
7474
proxy_set_header X-Real-IP $remote_addr;
7575
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
76+
add_header 'Access-Control-Allow-Origin' '*';
7677
}
7778
listen 80;
7879
listen [::]:80;

0 commit comments

Comments
 (0)