Format & Clean

This commit is contained in:
2021-01-23 00:10:53 +01:00
parent 6259f0be35
commit 9c13cc42d4
7 changed files with 42 additions and 70 deletions

View File

@ -1,13 +1,13 @@
server {
listen 443 ssl;
listen [::]:443 ssl;
listen 443 ssl;
listen [::]:443 ssl;
root /var/www/html;
index index.html;
root /var/www/html;
index index.html;
server_name my.domain.com;
server_name my.domain.com;
ssl_certificate /etc/letsencrypt/live/my.domain.com/fullchain.pem;
ssl_certificate /etc/letsencrypt/live/my.domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/my.domain.com/privkey.pem;
include /etc/nginx/snippets/ssl_options.conf;
@ -16,13 +16,12 @@ server {
client_max_body_size 5M;
client_body_buffer_size 256K;
sendfile on;
send_timeout 600s;
sendfile on;
send_timeout 600s;
location / {
proxy_pass http://192.168.2.1/;
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
location / {
proxy_pass http://192.168.2.1/;
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
proxy_buffering on;
proxy_buffers 12 12k;
@ -33,5 +32,5 @@ server {
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header Host $host;
}
}
}