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; + } + +}