Hi,
I am using hiawatha as a reverse-proxy.
I am trying to add a custom cors header as I think the manpage suggests:
CustomHeaderClient = Access-Control-Allow-Origin: *
But apparently I am doing something wrong? Hiawatha complains:
Starting webserver: Syntax error in hiawatha.conf on line 220.
error!
Config like this:
VirtualHost {
Hostname = www.mieser.com, *.mieser.com
ReverseProxy !^/.well-known/ http://192.168.3.79:8080/
CustomHeaderClient = Access-Control-Allow-Origin: *
RequireTLS = yes
TLScertFile = /etc/letsencrypt/live/www.mieser.com/hiawatha-hc.pem
WebsiteRoot /var/www/hcs
RandomHeader = 250 # anti decryption on https listening
}
Should I implement the cors-headers in the backend-server?