aboutsummaryrefslogtreecommitdiff
path: root/roles/nginx_reverse_proxy/templates/nginx.conf.j2
blob: d279cdc0c5ffb53043784a630af9187c14cba8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# vi: ft=nginx
server {
    listen       443 ssl;
    server_name  {{ nginx_reverse_proxy.server_name }} ;

    ssl_certificate {{ nginx_reverse_proxy.cert }};
    ssl_certificate_key {{ nginx_reverse_proxy.key }};

    {{ nginx_reverse_proxy.nginx_options | default("") }}

    location / {
        proxy_pass {{ nginx_reverse_proxy.proxy_address }};
    }
}