This commit is contained in:
parent
af0f09b8b0
commit
77a184b054
@ -1,4 +1,4 @@
|
||||
# {{ansible_managed}}
|
||||
# {{ ansible_managed }}
|
||||
user www-data;
|
||||
worker_processes auto;
|
||||
pid /run/nginx.pid;
|
||||
@ -71,7 +71,7 @@ http {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name {{ proxysite.domain }};
|
||||
proxy_ssl_name {{ proxysite.domain}};
|
||||
proxy_ssl_name {{ proxysite.domain }};
|
||||
ssl_certificate /etc/letsencrypt/live/{{ proxysite.domain }}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/{{ proxysite.domain }}/privkey.pem;
|
||||
ssl_stapling on;
|
||||
@ -79,11 +79,11 @@ http {
|
||||
{%- if proxysite.bigrequests %}
|
||||
client_max_body_size 8G;
|
||||
{%- endif %}
|
||||
location /{
|
||||
proxy_pass https://{{ proxysite.ip }};
|
||||
{-% if proxysite.ignorecert %}
|
||||
proxy_ssl_verify off;
|
||||
{%- endif %}
|
||||
location /{
|
||||
proxy_pass https://{{ proxysite.ip }};
|
||||
}
|
||||
location /metrics{
|
||||
proxy_pass https://{{ proxysite.ip }};
|
||||
|
Loading…
Reference in New Issue
Block a user