From 4b4e258faace46f0d6e10147c20318196c2cdb83 Mon Sep 17 00:00:00 2001 From: Tobias Strobel Date: Sat, 11 Sep 2021 16:01:20 +0200 Subject: [PATCH] Add http.conf --- nextcloud/http.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nextcloud/http.conf diff --git a/nextcloud/http.conf b/nextcloud/http.conf new file mode 100644 index 0000000..346b3d7 --- /dev/null +++ b/nextcloud/http.conf @@ -0,0 +1,14 @@ +upstream php-handler { + server unix:/run/php/php8.0-fpm.sock; +} +server { + listen 80 default_server; + listen [::]:80 default_server; + server_name *.home.strobel.one; + + root /var/www; + + location / { + return 301 https://$host$request_uri; + } +} \ No newline at end of file