mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Improve nginx config for xmpp-upload subdomain.
This commit is contained in:
parent
ada95f8fca
commit
5e6e53142b
1 changed files with 2 additions and 1 deletions
|
@ -68,8 +68,9 @@ server {
|
|||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name xmpp-upload.{{ domain }};
|
||||
root /dev/null;
|
||||
|
||||
location /upload {
|
||||
location /upload/ {
|
||||
alias /var/xmpp-upload/{{ domain }}/upload;
|
||||
# Pass all requests to metronome, except for GET and HEAD requests.
|
||||
limit_except GET HEAD {
|
||||
|
|
Loading…
Add table
Reference in a new issue