mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 23:55:56 +02:00
test
This commit is contained in:
@@ -9,18 +9,27 @@ server {
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
root /var/www/firefly-iii/public/;
|
||||
root /var/www/firefly-iii/public;
|
||||
|
||||
index index.html;
|
||||
large_client_header_buffers 8 32k;
|
||||
client_max_body_size 300M;
|
||||
index index.php index.html index.htm;
|
||||
server_name firefly.home.internal;
|
||||
|
||||
location / {
|
||||
root /var/www/firefly-iii/public/;
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
autoindex on;
|
||||
sendfile off;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
fastcgi_read_timeout 300;
|
||||
}
|
||||
|
||||
location ~* \.php(?:$|/) {
|
||||
include snippets/fastcgi-php.conf;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
fastcgi_param modHeadersAvailable true; #Avoid sending the security headers twice
|
||||
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user