date-poll-sf5/doc/nginx.md

11 lines
359 B
Markdown
Raw Normal View History

2021-04-08 16:41:54 +02:00
# 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
```