From f8164d165e5df57a4a41413b3a8ce2fefda55178 Mon Sep 17 00:00:00 2001 From: micutu Date: Mon, 14 Oct 2024 21:46:55 +0000 Subject: [PATCH] Add app.conf --- app.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app.conf diff --git a/app.conf b/app.conf new file mode 100644 index 0000000..d7acfa2 --- /dev/null +++ b/app.conf @@ -0,0 +1,15 @@ +server { + listen 80; + server_name example.org; + location / { + return 301 https://$host$request_uri; + } +} +server { + listen 443 ssl; + server_name example.org; + + location / { + proxy_pass http://example.org; #for demo purposes + } +}