From 6d578ff26c4bfc6b03933a887e798803a238714a Mon Sep 17 00:00:00 2001 From: Fernando Ontiveros Date: Fri, 5 Sep 2025 11:35:56 +0000 Subject: [PATCH] Add the template nginx file --- nginx.template | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 nginx.template diff --git a/nginx.template b/nginx.template new file mode 100644 index 000000000..ab859fbdc --- /dev/null +++ b/nginx.template @@ -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; + } +}