aboutsummaryrefslogtreecommitdiff
path: root/apks/firefly3/firefly.nginx.conf
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-11-07 20:04:30 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-11-07 20:04:30 +0000
commit400ba1808f11f8e4814df6bdb17861d856efb107 (patch)
tree04be03ca31a8b8edc80b9aa2c20020212bf94501 /apks/firefly3/firefly.nginx.conf
parent3f8ef10024a2c5b7d94ee91c7b481a742bfcd156 (diff)
downloadapkbuilds-400ba1808f11f8e4814df6bdb17861d856efb107.tar.gz
apkbuilds-400ba1808f11f8e4814df6bdb17861d856efb107.tar.bz2
apkbuilds-400ba1808f11f8e4814df6bdb17861d856efb107.zip
feat: Finish firefly APKBUILD
Add dependencies and subpackages' dependencies.
Diffstat (limited to 'apks/firefly3/firefly.nginx.conf')
-rw-r--r--apks/firefly3/firefly.nginx.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/apks/firefly3/firefly.nginx.conf b/apks/firefly3/firefly.nginx.conf
new file mode 100644
index 0000000..a95ebb1
--- /dev/null
+++ b/apks/firefly3/firefly.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;
+ }
+}