File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -858,6 +858,36 @@ To run the functional tests locally you may run the following command:
858
858
This runs the functional tests from the "tests" directory. It uses the database dumps (fixtures) and
859
859
database configuration (config) from the corresponding subdirectories.
860
860
861
+ ## Nginx config example
862
+ ```
863
+ server {
864
+ listen 80 default_server;
865
+ listen [::]:80 default_server;
866
+
867
+ root /var/www/html;
868
+ index index.php index.html index.htm index.nginx-debian.html;
869
+ server_name server_domain_or_IP;
870
+
871
+ location / {
872
+ try_files $uri $uri/ =404;
873
+ }
874
+
875
+ location ~ [^/]\.php(/|$) {
876
+ fastcgi_split_path_info ^(.+\.php)(/.+)$;
877
+ try_files $fastcgi_script_name =404;
878
+ set $path_info $fastcgi_path_info;
879
+ fastcgi_param PATH_INFO $path_info;
880
+ fastcgi_index index.php;
881
+ include fastcgi.conf;
882
+ fastcgi_pass unix:/run/php/php7.0-fpm.sock;
883
+ }
884
+
885
+ location ~ /\.ht {
886
+ deny all;
887
+ }
888
+ }
889
+ ```
890
+
861
891
### Docker
862
892
863
893
Install docker using the following commands and then logout and login for the changes to take effect:
You can’t perform that action at this time.
0 commit comments