scripts/nextcloud/http.conf

20 lines
305 B
Text
Raw Normal View History

2021-09-11 14:01:20 +00:00
upstream php-handler {
2023-03-14 10:04:22 +00:00
server unix:/run/php/php8.1-fpm.sock;
2021-09-11 14:01:20 +00:00
}
2023-04-15 22:42:16 +00:00
map $arg_v $asset_immutable {
"" "";
default "immutable";
}
2021-09-11 14:01:20 +00:00
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name *.home.strobel.one;
root /var/www;
location / {
2023-04-15 22:42:16 +00:00
return 301 https://$host$request_uri;
2021-09-11 14:01:20 +00:00
}
}