Init commit, env setup, docker + laravel initial install, 1h 25min spent
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
server {
|
||||
server_name test-fhr.ldev;
|
||||
|
||||
listen 80;
|
||||
|
||||
gzip on;
|
||||
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
||||
gzip_proxied any;
|
||||
gzip_buffers 16 8k;
|
||||
gzip_types text/plain application/javascript application/x-javascript text/javascript text/xml text/css;
|
||||
gzip_vary on;
|
||||
|
||||
client_max_body_size 32m;
|
||||
client_header_buffer_size 4k;
|
||||
large_client_header_buffers 8 16k;
|
||||
|
||||
root /var/www/test-fhr/public;
|
||||
index index.php;
|
||||
access_log /var/log/nginx/access_app.log;
|
||||
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
|
||||
fastcgi_pass php8:9000;
|
||||
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
|
||||
|
||||
fastcgi_intercept_errors off;
|
||||
fastcgi_buffer_size 16k;
|
||||
fastcgi_buffers 4 16k;
|
||||
fastcgi_connect_timeout 300;
|
||||
fastcgi_send_timeout 300;
|
||||
fastcgi_read_timeout 300;
|
||||
}
|
||||
|
||||
# deny access to .htaccess files, if Apache's document root
|
||||
# concurs with nginx's one
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri /index.php?$args;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user