web-gw: setup reverse proxy for firmware downloads

This commit is contained in:
Markus 2018-01-10 15:54:30 +01:00
parent 4c2ff47a28
commit d0706c84bb
1 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,10 @@ server {
}
root /var/www/html;
location /firmware {
proxy_pass https://regensburg.freifunk.net/firmware;
}
}
server {
@ -22,4 +26,8 @@ server {
ssl_certificate /etc/nginx/ssl/{{ ansible_fqdn }}.crt;
root /var/www/html;
location /firmware {
proxy_pass https://regensburg.freifunk.net/firmware;
}
}