From 011243f8630691ba8a2619719aa41c79656fd78a Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Fri, 11 Nov 2022 12:36:33 +0100 Subject: [PATCH] Replace localhost by loopback address in Nginx blocks --- nginx-blocks/filebrowser | 2 +- nginx-blocks/transmission | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx-blocks/filebrowser b/nginx-blocks/filebrowser index 665d216..92e10c4 100644 --- a/nginx-blocks/filebrowser +++ b/nginx-blocks/filebrowser @@ -6,7 +6,7 @@ server { ssl_certificate_key /etc/ssl/cert.key; location / { - proxy_pass http://localhost:8080; + proxy_pass http://127.0.0.1:8080; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; } } diff --git a/nginx-blocks/transmission b/nginx-blocks/transmission index 9a3bcec..1fa7365 100644 --- a/nginx-blocks/transmission +++ b/nginx-blocks/transmission @@ -6,7 +6,7 @@ server { ssl_certificate_key /etc/ssl/cert.key; location / { - proxy_pass http://localhost:9091; + proxy_pass http://127.0.0.1:9091; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; } }