You've already forked snikket-web-portal
This may help with debugging issues, because we now actually see incoming requests also on the hypercorn layer. Fixes #97.
9 lines
436 B
Bash
9 lines
436 B
Bash
#!/bin/sh
|
|
|
|
export SNIKKET_WEB_DOMAIN="$SNIKKET_DOMAIN"
|
|
|
|
export SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_INTERFACE="${SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_INTERFACE-127.0.0.1}"
|
|
export SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_PORT="${SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_PORT-5765}"
|
|
|
|
exec hypercorn -b "${SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_INTERFACE}:${SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_PORT}" --access-logfile=- --log-file=- 'snikket_web:create_app()'
|