ansible/roles/prosody/templates/nginx.j2

23 lines
407 B
Plaintext
Raw Normal View History

2021-02-03 01:04:38 +01:00
# {{ 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;
}
2022-12-29 19:13:28 +01:00
location /file_share {
proxy_pass http://127.0.0.1:5280/file_share;
}
2021-02-03 01:04:38 +01:00
}