19 lines
331 B
Text
19 lines
331 B
Text
|
# {{ ansible_managed }}
|
||
|
|
||
|
server {
|
||
|
{{ prosody_nginx_conf }}
|
||
|
|
||
|
location /http-bind {
|
||
|
proxy_pass http://127.0.0.1:5280/http-bind;
|
||
|
}
|
||
|
|
||
|
location /xmpp-websocket {
|
||
|
proxy_pass http://127.0.0.1:5280/xmpp-websocket;
|
||
|
}
|
||
|
|
||
|
location /upload {
|
||
|
proxy_set_header Host {{ prosody_domain }};
|
||
|
proxy_pass http://127.0.0.1:5280/upload;
|
||
|
}
|
||
|
}
|