mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 10:04:14 -05:00
Apache2 Config Suggestion addition to docs #110
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @oliverbob on GitHub (Dec 21, 2023).
Is your feature request related to a problem? Please describe.
For developers who are comfortable with Apache but have difficulty running it with SSL on reverse proxy. Here is the easiest setup:
Clone this rep: Ollama-Webui
git clone https://github.com/ollama-webui/ollama-webui.gitdocker build -t ollama-webui .Describe the solution you'd like
example.com.conf:
sudo a2ensite example.com.conf
Run lets encrypt:
sudo certbot --apache -d example.comexample.com-le-ssl.conf
Reload Apache2:
sudo systemctl reload apache2Make sure that ports 80, 443 and 3000 are whitelisted in ufw as well as publicly visible/unblocked from your ISP or host provider.
Describe alternatives you've considered
The Caddy example file can also be used, but make sure it is not conflicting with Apache.
Additional context
This assumes Ollama Web UI is installed on a server running Apache2.
Update:
The following is a working configuration in my system
Enjoy!