Update http.conf for Nextcloud 26
This commit is contained in:
parent
fa3b325faf
commit
044a74b14a
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,12 @@
|
||||||
upstream php-handler {
|
upstream php-handler {
|
||||||
server unix:/run/php/php8.1-fpm.sock;
|
server unix:/run/php/php8.1-fpm.sock;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
map $arg_v $asset_immutable {
|
||||||
|
"" "";
|
||||||
|
default "immutable";
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
listen [::]:80 default_server;
|
listen [::]:80 default_server;
|
||||||
|
@ -9,6 +15,6 @@ server {
|
||||||
root /var/www;
|
root /var/www;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue