1
0
Fork 0

Update http.conf for Nextcloud 26

This commit is contained in:
Tobias Strobel 2023-04-15 22:42:16 +00:00 committed by Tobias Strobel
parent fa3b325faf
commit 044a74b14a
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,12 @@
upstream php-handler {
server unix:/run/php/php8.1-fpm.sock;
}
map $arg_v $asset_immutable {
"" "";
default "immutable";
}
server {
listen 80 default_server;
listen [::]:80 default_server;
@ -9,6 +15,6 @@ server {
root /var/www;
location / {
return 301 https://$host$request_uri;
return 301 https://$host$request_uri;
}
}