aboutsummaryrefslogtreecommitdiff
path: root/roles/nginx_reverse_proxy/templates/nginx.conf.j2
blob: 8f94bce797d6139822710250404e3e7b598910a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 }};
        {{ nginx_reverse_proxy.nginx_options_location_root | default("") }}
    }
}