From 919640ecc95a8588f007d6f500921ec23c81da92 Mon Sep 17 00:00:00 2001 From: fuzzykitten Date: Tue, 4 Feb 2025 13:09:37 -0500 Subject: [PATCH] upload nginx config file --- etc/endboard | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 etc/endboard diff --git a/etc/endboard b/etc/endboard new file mode 100644 index 0000000..417ba12 --- /dev/null +++ b/etc/endboard @@ -0,0 +1,24 @@ +server { + listen 127.0.0.1:80 default_server; + root /srv/endboard; + index index.php; + server_name _; + server_tokens off; + gzip on; + gzip_min_length 1000; + gzip_buffers 4 8k; + gzip_http_version 1.0; + gzip_disable "msie6"; + gzip_types text/plain text/css application/json; + gzip_vary on; + + location ~ \.php$ { + include snippets/fastcgi-php.conf; + fastcgi_pass unix:/run/php/php7.4-fpm.sock; + } + + location / { + try_files $uri $uri/ /index.php?$args; + } + +}