From b376d91e21805a000c6ad242a501f47908729e5b Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 4 Apr 2023 18:52:14 +0200 Subject: [PATCH] extracted nginx conf into file --- upfast-nginx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 upfast-nginx diff --git a/upfast-nginx b/upfast-nginx new file mode 100644 index 0000000..0494af8 --- /dev/null +++ b/upfast-nginx @@ -0,0 +1,15 @@ +server { + listen 80; + listen [::]:80; + + server_name upfast.example.com ; + + location / { + proxy_pass http://127.0.0.1:8000; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_redirect off; + proxy_buffering off; + } +}