You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Web/Sources/config/nginx.conf

21 lines
417 B

server {
listen 80;
index index.php;
root /var/www/public;
error_page 404 /index.php;
location ~ \.php$ {
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location / {
root /var/www/public;
try_files $uri /index.php;
}
}