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