serve custom well-known documents via nginx
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user