initial cleanup server-manager

This commit is contained in:
2020-12-24 14:27:31 +01:00
commit ccd20af081
81 changed files with 2601 additions and 0 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/native-letsencrypt/templates/ssl_header.j2' %}
{% include 'proxy_pass.conf.j2' %}
}

View File

@@ -0,0 +1,11 @@
location /
{
proxy_pass http://127.0.0.1:{{http_port}}/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
send_timeout 300;
}