Commit 60829fb6 authored by nimrod's avatar nimrod
Browse files

web proxy: Temporary workaround for ns1 being offline.

parent 9fa1ab7e
Loading
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
# vim: ft=nginx
server {
    listen      80;
    listen      [::]:80;
    server_name library.shore.co.il;

    location / {
        proxy_pass              http://192.168.3.12$request_uri;
        proxy_http_version      1.1;
        include                 snippets/proxy-headers.conf;
    }
}

server {
    listen      443 ssl;
    listen      [::]:443 ssl;
    http2       on;
    server_name library.shore.co.il;

    location / {
        proxy_pass              https://192.168.3.12$request_uri;
        proxy_http_version      1.1;
        include                 snippets/proxy-headers.conf;
    }
}
+26 −0
Original line number Diff line number Diff line
# vim: ft=nginx

server {
    listen      80;
    listen      [::]:80;
    server_name transmission.shore.co.il;

    location / {
        proxy_pass              http://192.168.3.12$request_uri;
        proxy_http_version      1.1;
        include                 snippets/proxy-headers.conf;
    }
}

server {
    listen      443 ssl;
    listen      [::]:443 ssl;
    http2       on;
    server_name transmission.shore.co.il;

    location / {
        proxy_pass              https://192.168.3.12$request_uri;
        proxy_http_version      1.1;
        include                 snippets/proxy-headers.conf;
    }
}