force http on proxy_pass for mumble-web (#51)

Unless I messed up with something, I can not deploy correctly if I keep `{{ item.proto }`. Indeed, it has to be set as http by default, but if I set `proto` in defaults as `http`, set certificates aren't deployed...

And as I just wrote, it has to be `proxy_pass http://<proxybox>:64737;` anyway.

I'm done with the role btw.

Reviewed-on: #51
This commit is contained in:
meaz 2023-10-25 04:53:45 +00:00
parent 678fd345d3
commit b57ac22a41
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ map $http_upgrade $connection_upgrade {
}
location /server {
proxy_pass {{ item.proto }}://{{ item.server }}:{{ item.port }};
proxy_pass http://{{ item.server }}:{{ item.port }};
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";