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

View file

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