mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-05 11:24:53 +01:00
27 lines
637 B
Plaintext
27 lines
637 B
Plaintext
server {
|
|
listen 8443;
|
|
|
|
include /etc/nginx/includes/server_params.conf;
|
|
include /etc/nginx/includes/proxy_params.conf;
|
|
|
|
ssl_certificate /ssl/%%certfile%%;
|
|
ssl_certificate_key /ssl/%%keyfile%%;
|
|
|
|
client_max_body_size 0;
|
|
|
|
root /var/www/firefly-iii/public/;
|
|
|
|
index index.html;
|
|
|
|
location / {
|
|
root /var/www/firefly-iii/public/;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|