Move the nginx.template file to docker directory
This commit is contained in:
38
docker/nginx.template
Normal file
38
docker/nginx.template
Normal file
@@ -0,0 +1,38 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user