Opdateringer
This commit is contained in:
@@ -10,6 +10,12 @@ server {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
location /download/ {
|
||||
alias /usr/share/nginx/html/download/;
|
||||
add_header Content-Disposition "attachment";
|
||||
autoindex off;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user