readme command line usage - to specify pipeline file name readme updated to include reasoning behind the project use native golang sqlite RunScriptCommand named in functionMap removed unused functions removed unused functions run script and pipeline example renamed functions to drop the word script and add pipeline verb
30 lines
No EOL
874 B
Text
30 lines
No EOL
874 B
Text
server {
|
|
listen 80;
|
|
|
|
# Redirect all HTTP requests to HTTPS
|
|
# return 301 https://$host$request_uri;
|
|
|
|
index index.php index.html;
|
|
error_log /var/log/nginx/error.log;
|
|
access_log /var/log/nginx/access.log;
|
|
root /var/www/public;
|
|
location ~ \.php$ {
|
|
try_files $uri =404;
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_pass localhost:9000;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
fastcgi_param HTTPS on;
|
|
fastcgi_param HTTP_X_FORWARDED_PROTO https;
|
|
}
|
|
location / {
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
gzip_static on;
|
|
}
|
|
location /storage/ {
|
|
alias /var/www/storage/app/public/;
|
|
autoindex on;
|
|
}
|
|
} |