Refactored native-

This commit is contained in:
2023-09-02 13:13:28 +02:00
parent c11333be9a
commit 96b0d10ea8
169 changed files with 94 additions and 94 deletions

View File

@@ -0,0 +1,13 @@
server
{
server_name {{domain}};
{% if client_max_body_size is defined %}
client_max_body_size {{ client_max_body_size }};
{% endif %}
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
{% include 'proxy_pass.conf.j2' %}
}

View File

@@ -0,0 +1,20 @@
location /
{
proxy_pass http://127.0.0.1:{{http_port}}/;
# headers
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
# deactivate buffering
proxy_buffering off;
proxy_request_buffering off;
# timeouts
proxy_connect_timeout 1s;
proxy_send_timeout 900s;
proxy_read_timeout 900s;
send_timeout 900s;
}