From 5aece187367ac5e6099c1fe9ce3463becbbb877b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Palomares=20Pizarro?= Date: Thu, 2 Feb 2023 14:57:39 +0100 Subject: [PATCH] Fixed the nginx configuration on README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82eb745..4fa63bf 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ the default bind Mojolicious uses. HTTP server, you're on your own.) ~~~conf + server { server_name sakisafe.whatever.tld; listen 443 ssl; @@ -40,7 +41,10 @@ server { # ssl configuration here location / { - proxy_pass http://127.0.0.1:3000$request_uri; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-for $remote_addr; + proxy_pass http://127.0.0.1:3000$request_uri; } } ~~~