aboutsummaryrefslogtreecommitdiff
path: root/apks/firefly3/firefly.nginx.conf
diff options
context:
space:
mode:
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;
+ }
+}