serve custom well-known documents via nginx

This commit is contained in:
Girish Ramakrishnan
2020-04-08 23:11:37 -07:00
parent ef9aeb0772
commit 2efa0aaca4
3 changed files with 10 additions and 0 deletions
+6
View File
@@ -139,6 +139,12 @@ server {
internal;
}
# user defined .well-known resources
# alias means only the part after matched location is appended (unlike root)
location /.well-known/ {
alias /home/yellowtent/boxdata/well-known/$host/;
}
location / {
# increase the proxy buffer sizes to not run into buffer issues (http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers)
proxy_buffer_size 128k;