Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crapi-web close immediately after startup #291

Open
qySec opened this issue Feb 25, 2025 · 0 comments
Open

crapi-web close immediately after startup #291

qySec opened this issue Feb 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@qySec
Copy link

qySec commented Feb 25, 2025

After starting all images, if crapi web is found, it will immediately exit

Image
crapi-web close immediately after startup

Error found while viewing logs:
┌──(root㉿kali)-[~/crAPI/crAPI-1.1.5/deploy/docker]
└─# docker logs crapi-web
total 16
drwxr-xr-x 2 root root 4096 May 17 2024 .
drwxr-xr-x 1 root root 4096 May 17 2024 ..
-rw-r--r-- 1 root root 2240 May 17 2024 server.crt
-rw-r--r-- 1 root root 3272 May 17 2024 server.key
WORKSHOP_SERVICE=crapi-workshop:8000
HOSTNAME=c002b8e27c38
SHLVL=2
HOME=/root
HTTP_PROTOCOL=http
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin
COMMUNITY_SERVICE=crapi-community:8087
TLS_ENABLED=false
IDENTITY_SERVICE=crapi-identity:8080
PWD=/
NGINX_TEMPLATE=/etc/nginx/conf.d/default.conf.template
2025/02/25 23:04:17 [warn] 10#10: duplicate MIME type "text/html" in /etc/nginx/conf.d/default.conf:25
nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/conf.d/default.conf:25
2025/02/25 23:04:17 [warn] 10#10: duplicate MIME type "text/html" in /etc/nginx/conf.d/default.conf:56
nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/conf.d/default.conf:56
2025/02/25 23:04:17 [emerg] 10#10: no host in upstream "/" in /etc/nginx/conf.d/default.conf:78
nginx: [emerg] no host in upstream "/" in /etc/nginx/conf.d/default.conf:78

I don't know what to do.
Will you help me

@qySec qySec added the bug Something isn't working label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant