first commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
upstream fastcgi_backend {
|
||||
server lester.php.dev:9000;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name lester.test;
|
||||
root /home/www/website/www/public;
|
||||
index index.php;
|
||||
client_max_body_size 200M;
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass fastcgi_backend;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
fastcgi_intercept_errors on;
|
||||
}
|
||||
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
|
||||
expires max;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
access_log /home/www/website/log/access.log main;
|
||||
error_log /home/www/website/log/error.log;
|
||||
}
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
/home/www/website/conf/nginx-dev.conf
|
||||
Reference in New Issue
Block a user