changeset 261:857f4870fd7f

nginx: localhost to 127.0.0.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Jul 2019 12:01:55 +0200
parents f9e7036d81d0
children 3391edf37359
files Sphinx/source/faq/nginx.rst
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/faq/nginx.rst	Thu Jun 27 09:46:04 2019 +0200
+++ b/Sphinx/source/faq/nginx.rst	Tue Jul 02 12:01:55 2019 +0200
@@ -11,7 +11,7 @@
        listen  80  default_server;
        ...
        location  /orthanc/  {
-          proxy_pass http://localhost:8042;
+          proxy_pass http://127.0.0.1:8042;
           proxy_set_header HOST $host;
           proxy_set_header X-Real-IP $remote_addr;
           rewrite /orthanc(.*) $1 break;
@@ -42,7 +42,7 @@
        listen  80  default_server;
        ...
        location  /orthanc/  {
-          proxy_pass http://localhost:8042;
+          proxy_pass http://127.0.0.1:8042;
           proxy_set_header HOST $host;
           proxy_set_header X-Real-IP $remote_addr;
           rewrite /orthanc(.*) $1 break;