mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
11 lines
359 B
Markdown
11 lines
359 B
Markdown
# CORS config for nginx
|
|
To be able to work between some domain and an other you have to setup the cross origin ressource config of your web server.
|
|
|
|
Use the nginx example config, don't forget to replace the example.com.
|
|
The following script copies the example confing and asks you for a replacement of the domains names.
|
|
|
|
```bash
|
|
bash doc/nginx/setup.sh
|
|
```
|
|
|