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

View File

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