Add the template nginx file

This commit is contained in:
Fernando Ontiveros
2025-09-05 11:35:56 +00:00
parent 8c00b078ea
commit 6d578ff26c

37
nginx.template Normal file
View File

@@ -0,0 +1,37 @@
server {
listen 2100;
listen [::]:2100;
server_name _;
root /app/lurana/luos/workflow/public_html;
index index.html index.php;
try_files $uri $uri/ /index.php?$args;
charset utf-8;
location / {
try_files $uri $uri/ /app.php?$query_string;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/lurana-fpm.sock;
fastcgi_index app.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /app/lurana/luos/workflow/public_html/app.php;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_intercept_errors off;
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
}
location ~ /\.ht {
deny all;
}
}