web-gw: setup reverse proxy for firmware downloads
This commit is contained in:
parent
4c2ff47a28
commit
d0706c84bb
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user