From cddb0c425bedf72653350d78871b39b7c19d2092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20H=C3=BCske?= Date: Sun, 30 Jun 2024 08:03:02 +0200 Subject: [PATCH] Format --- conf/nginx/default.conf.template | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/conf/nginx/default.conf.template b/conf/nginx/default.conf.template index 4aa5554..192d8b9 100644 --- a/conf/nginx/default.conf.template +++ b/conf/nginx/default.conf.template @@ -6,8 +6,8 @@ fastcgi_cache_key "$scheme$request_method$host$request_uri"; fastcgi_ignore_headers Cache-Control Expires Set-Cookie; server { - listen 80; - index index.php index.htm index.html; + listen 80; + index index.php index.htm index.html; set $skip_cache 0; @@ -26,16 +26,16 @@ server { set $skip_cache 1; } - root /var/www/html; + root /var/www/html; - error_log /var/log/nginx/error.log; - access_log off; + error_log /var/log/nginx/error.log; + access_log off; - include /etc/nginx/conf.d/7g.conf; + include /etc/nginx/conf.d/7g.conf; - location ~* ^.+\.(png|jpe?g|gif)$ { - add_header Vary Accept; - try_files $uri$webp_suffix $uri =404; + location ~* ^.+\.(png|jpe?g|gif)$ { + add_header Vary Accept; + try_files $uri$webp_suffix $uri =404; } location / {