* #1 - project skeleton * #1 - composer fix * #1 - add app key to phpunit config * #1 - change default session driver * #1 - add EXTERNAL_WEBSERVER_PORT variable to .env.example
This commit is contained in:
24
docker/dev/nginx/nginx.conf
Normal file
24
docker/dev/nginx/nginx.conf
Normal file
@@ -0,0 +1,24 @@
|
||||
server {
|
||||
listen 80 default;
|
||||
server_name localhost;
|
||||
|
||||
client_max_body_size 108M;
|
||||
|
||||
access_log /dev/stdout;
|
||||
|
||||
root /application/public;
|
||||
index index.php;
|
||||
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^.*$ /index.php last;
|
||||
}
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass toby-php:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PHP_VALUE "error_log=/dev/stdout";
|
||||
fastcgi_buffers 16 16k;
|
||||
fastcgi_buffer_size 32k;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user