From 02be4323ddeee691a5dcba864b93ec9aa3d47f38 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sun, 29 Jan 2023 16:10:40 +0100 Subject: feat: Add firefly3 config folder Now the env file is linked to the to the etc folder. --- apks/firefly3/firefly3.nginx.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 apks/firefly3/firefly3.nginx.conf (limited to 'apks/firefly3/firefly3.nginx.conf') diff --git a/apks/firefly3/firefly3.nginx.conf b/apks/firefly3/firefly3.nginx.conf new file mode 100644 index 0000000..a95ebb1 --- /dev/null +++ b/apks/firefly3/firefly3.nginx.conf @@ -0,0 +1,16 @@ +server { + listen 80; + server_name firefly.lan; + root /var/www/firefly3/public; + + location ~ \.php$ { + try_files $uri $uri/ =404; + fastcgi_split_path_info ^(.+\.php)(/.+)$; + fastcgi_pass unix:/run/php-fpm8/fpm.sock; + include fastcgi.conf; + } + + location / { + try_files $uri /index.php$is_args$args; + } +} -- cgit v1.2.3