-
Notifications
You must be signed in to change notification settings - Fork 140
Running multi WebUI at the same time
CzBiX edited this page Oct 7, 2022
·
1 revision
Disable altWebUI
options, then use the below config.
server {
server_name qb-old.example.com;
location / {
include proxy_params;
proxy_pass http://localhost:8080;
}
}
server {
server_name qb-web.example.com;
location / {
root /var/www/qb-web/public/;
}
location /api/ {
include proxy_params;
proxy_pass http://localhost:8080;
}
}
Discussions in #120.
[your-domain] {
route /classic/* {
uri strip_prefix /classic
reverse_proxy localhost:8080
}
route /* {
reverse_proxy /api/* localhost:8080
root * /var/www/qb-web
file_server
}
encode gzip
}