forked from FF-RGB/ansible
web-gw: sync settings between http and https
This commit is contained in:
parent
aa6aa4650b
commit
cb26f4c745
@ -38,6 +38,8 @@ server {
|
|||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
|
||||||
server_name {{ ansible_fqdn }};
|
server_name {{ ansible_fqdn }};
|
||||||
|
|
||||||
ssl_certificate_key /etc/nginx/ssl/{{ ansible_fqdn }}.key;
|
ssl_certificate_key /etc/nginx/ssl/{{ ansible_fqdn }}.key;
|
||||||
@ -52,4 +54,11 @@ server {
|
|||||||
location /firmware-ng/stable {
|
location /firmware-ng/stable {
|
||||||
proxy_pass http://home.mephis.to:2342/ff/stable/images;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user