Add http.conf
This commit is contained in:
parent
e0b309823d
commit
4b4e258faa
1 changed files with 14 additions and 0 deletions
14
nextcloud/http.conf
Normal file
14
nextcloud/http.conf
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue