web-gw: sync settings between http and https

This commit is contained in:
Markus 2020-06-16 23:47:37 +02:00
parent aa6aa4650b
commit cb26f4c745

View File

@ -38,6 +38,8 @@ server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
proxy_set_header X-Forwarded-For $remote_addr;
server_name {{ ansible_fqdn }};
ssl_certificate_key /etc/nginx/ssl/{{ ansible_fqdn }}.key;
@ -52,4 +54,11 @@ server {
location /firmware-ng/stable {
proxy_pass http://home.mephis.to:2342/ff/stable/images;
}
# post 11s
location /firmware-11s/experimental {
proxy_pass http://home.mephis.to:2342/ff/11s/experimental/images;
}
location /firmware-11s/stable {
proxy_pass http://home.mephis.to:2342/ff/11s/stable/images;
}
}