I assume you ask, because the configuration you got, is not working?
Guess in the Dev-Console you see CORS-Errors
=> you need to setup an reverse-proxy on the VM and serve ollama with https
=> https:/, would then be the base URL
You can use nginx or caddy for example with self-signed certs.
Hi,
now I’m back from holiday.
I have installed Caddy and it is running. I can access the vmware and no security warning appears.
I also have inserted two reverse_proxy rules to the Caddyfile.
Everything looks ok.
Thank you very much for your support.
Here is the code of the Caddyfile:
admin off
local_certs
}
neffetzz.de {
bind 192.168.178.192
tls internal {
on_demand
}
log {
output file /var/log/caddy/access.log
}
respond "Secure Caddy server - {host} - HTTPS Enabled!"
}
# Additional subdomains for different services
ollama.neffetzz.de {
bind 192.168.178.192
tls internal {
on_demand
}
log {
output file /var/log/caddy/ollama.log
}
reverse_proxy localhost:11434
}
# You can add more services following the same pattern
bolt.neffetzz.de {
bind 192.168.178.192
tls internal {
on_demand
}
log {
output file /var/log/caddy/bolt.log
}
reverse_proxy localhost:5173
}