maybe this
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Torma Kristóf 2023-03-05 23:10:44 +01:00
parent af0f09b8b0
commit 77a184b054

View File

@ -1,4 +1,4 @@
# {{ansible_managed}} # {{ ansible_managed }}
user www-data; user www-data;
worker_processes auto; worker_processes auto;
pid /run/nginx.pid; pid /run/nginx.pid;
@ -71,7 +71,7 @@ http {
listen 443 ssl http2; listen 443 ssl http2;
listen [::]:443 ssl http2; listen [::]:443 ssl http2;
server_name {{ proxysite.domain }}; 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 /etc/letsencrypt/live/{{ proxysite.domain }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ proxysite.domain }}/privkey.pem; ssl_certificate_key /etc/letsencrypt/live/{{ proxysite.domain }}/privkey.pem;
ssl_stapling on; ssl_stapling on;
@ -79,16 +79,16 @@ http {
{%- if proxysite.bigrequests %} {%- if proxysite.bigrequests %}
client_max_body_size 8G; client_max_body_size 8G;
{%- endif %} {%- endif %}
{-% if proxysite.ignorecert %}
proxy_ssl_verify off;
{%- endif %}
location /{ location /{
proxy_pass https://{{ proxysite.ip }}; proxy_pass https://{{ proxysite.ip }};
{-% if proxysite.ignorecert %}
proxy_ssl_verify off;
{%- endif %}
} }
location /metrics{ location /metrics{
proxy_pass https://{{ proxysite.ip }}; proxy_pass https://{{ proxysite.ip }};
allow 192.168.69.0/24; allow 192.168.69.0/24;
deny all; deny all;
} }
} }