From 952bc7dd645bcded78cd48eb87720077559360d3 Mon Sep 17 00:00:00 2001 From: PepijnBoers Date: Mon, 23 Nov 2020 14:01:12 +0100 Subject: [PATCH] Fix indent --- nginx/nginx.conf | 12 ++++++------ ssl/nginx.conf | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 629b476..4fcc25e 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -7,19 +7,19 @@ events { http { server { listen 80 default_server; - server_name localhost example.org www.example.org; + server_name example.org www.example.org; location / { - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; proxy_pass http://app; } location /matomo.php { - proxy_set_header Host $host; + proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header X-Forwarded-For $remote_addr; proxy_pass http://app$request_uri; } } -} \ No newline at end of file +} diff --git a/ssl/nginx.conf b/ssl/nginx.conf index 9322dcf..d8c1bf2 100644 --- a/ssl/nginx.conf +++ b/ssl/nginx.conf @@ -20,15 +20,15 @@ http { ssl_ciphers HIGH:!aNULL:!MD5; location / { - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; proxy_pass http://app; } location /matomo.php { - proxy_set_header Host $host; + proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header X-Forwarded-For $remote_addr; proxy_pass http://app$request_uri; } }