Closed zdavatz closed 5 months ago
/var/www/amiko.oddb.org/bin/amikoweb -Dplay.http.secret.key='asdöflkasdfölkadsfölkj...
Bad Request
For request 'GET /' [Host not allowed: amiko.oddb.org]
ok, das scheint zu fehlen im Application.conf:
hosts {
# Allow requests to example.com, its subdomains, and localhost:9000.
allowed = ["amiko.oddb.org", "localhost:9000"]
Application.conf von yopenedi sieht so aus: https://github.com/zdavatz/yopenedi/blob/master/java/server/conf/application.conf
Deamontools was configured wrong, this works:
#!/bin/sh
export JAVA_OPTS="-Dplay.http.secret.key=****************************************** -Dfeature.prescriptions=true"
exec /var/www/amiko.oddb.org/bin/amikoweb
export JAVA_OPTS="-Dfeature.prescriptions=true"