Custom base URL
Configure UI Bakery for a custom base URL
Docker Compose and standalone NGINX
1. Install NGINX
sudo apt update
sudo apt install nginx2. Create an NGINX configuration file
server {
listen 80;
listen [::]:80;
server_name example.com;
client_max_body_size 50M;
location /bakery {
rewrite /bakery/(.+) /$1 break;
proxy_pass http://localhost:3030;
}
}
3. Update environment variables
4. Restart UI Bakery and NGINX
Kubernetes
1. Modify gateway configuration file
2. Add ingress-nginx
3. Create UI Bakery ingress configuration
4. Update UI Bakery config
5. Restart your instance
Last updated
Was this helpful?