Add http.conf

This commit is contained in:
Tobias Strobel 2021-09-11 16:01:20 +02:00
parent e0b309823d
commit 4b4e258faa

14
nextcloud/http.conf Normal file
View file

@ -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;
}
}