aboutsummaryrefslogtreecommitdiff
path: root/apks/firefly3/firefly3.nginx.conf
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-01-29 16:10:40 +0100
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-01-29 16:15:27 +0100
commit02be4323ddeee691a5dcba864b93ec9aa3d47f38 (patch)
tree21e317773ec8a9b3425291abd0503fc544559737 /apks/firefly3/firefly3.nginx.conf
parent70c9cfbf1cb8eef0bfecb8c2268b70f1ddb6345d (diff)
downloadapkbuilds-02be4323ddeee691a5dcba864b93ec9aa3d47f38.tar.gz
apkbuilds-02be4323ddeee691a5dcba864b93ec9aa3d47f38.tar.bz2
apkbuilds-02be4323ddeee691a5dcba864b93ec9aa3d47f38.zip
feat: Add firefly3 config folder
Now the env file is linked to the to the etc folder.
Diffstat (limited to 'apks/firefly3/firefly3.nginx.conf')
-rw-r--r--apks/firefly3/firefly3.nginx.conf16
1 files changed, 16 insertions, 0 deletions
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;
+ }
+}