Change Updateserver

This commit is contained in:
Bastian Maeuser 2019-12-09 15:32:10 +01:00
parent a7423d02be
commit 4f9d4fd10a

View File

@ -2,6 +2,8 @@ server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
proxy_set_header X-Forwarded-For $remote_addr;
server_name _; server_name _;
location /.well-known/acme-challenge { location /.well-known/acme-challenge {
@ -16,14 +18,15 @@ server {
} }
# temp redirector server # temp redirector server
location /move.php { location /move.php {
proxy_pass https://home.mephis.to/move.php; proxy_pass http://home.mephis.to:2342/move.php;
} }
# updateserver @meph
location /firmware-ng/experimental { location /firmware-ng/experimental {
proxy_pass https://home.mephis.to/ff/experimental/images; proxy_pass http://home.mephis.to:2342/ff/experimental/images;
}
location /firmware-ng/stable {
proxy_pass http://home.mephis.to:2342/ff/stable/images;
} }
location /firmware-ng/stable {
proxy_pass https://home.mephis.to/ff/stable/images;
}
} }
server { server {