Differences
This shows you the differences between two versions of the page.
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 / | root / | ||
- | index index.php | + | index index.html; |
location / { | location / { | ||
try_files $uri / | try_files $uri / | ||
- | } | ||
- | |||
- | location ~ \.php$ { | ||
- | fastcgi_pass unix:/ | ||
- | fastcgi_index index.php; | ||
- | fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; | ||
- | include fastcgi_params; | ||
} | } | ||