Differences

This shows you the differences between two versions of the page.

Link to this comparison view

development:deploy:nginx:react [2021/07/06 09:30]
kalenpw created
development:deploy:nginx:react [2021/07/06 09:50] (current)
kalenpw
Line 7: Line 7:
  
     root /web/schedukal.ml;     root /web/schedukal.ml;
-    index index.php index.html;+    index index.html;
  
     location / {     location / {
         try_files $uri /index.html;         try_files $uri /index.html;
-    } 
- 
-    location ~ \.php$ { 
-        fastcgi_pass unix:/run/php/php7.2-fpm.sock; 
-        fastcgi_index index.php; 
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; 
-        include fastcgi_params; 
     }     }