jilo-web/doc/config.nginx

23 lines
447 B
Plaintext
Raw Permalink Normal View History

2024-07-10 10:58:44 +00:00
server {
listen 80;
server_name $DOMAIN;
root $INSTALL_DIR;
index index.php;
location / {
try_files \$uri \$uri/ /index.php?\$args;
}
2024-08-16 06:35:21 +00:00
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
2024-07-10 10:58:44 +00:00
location ~ /\.ht {
deny all;
}
}