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 + } +}