mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Adding CORS header to debian apache config.
This commit is contained in:
parent
336ef1abb4
commit
f035f94b32
1 changed files with 4 additions and 0 deletions
|
|
@ -23,6 +23,10 @@
|
|||
SSLCertificateFile /etc/nginx/cert.crt
|
||||
SSLCertificateKeyFile /etc/nginx/cert.key
|
||||
|
||||
Header set Access-Control-Allow-Origin "*"
|
||||
Header set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
|
||||
Header set Access-Control-Allow-Headers "Content-Type"
|
||||
|
||||
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
|
||||
# error, crit, alert, emerg.
|
||||
# It is also possible to configure the loglevel for particular
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue