cephalopodstudios.com_nginx.conf 593 B

12345678910111213141516171819202122232425
  1. server {
  2. listen 80;
  3. listen [::]:80;
  4. root /var/www/cephalopodstudios.com;
  5. index index.php index.html index.htm index.nginx-debian.html;
  6. server_name cephalopodstudios.com www.cephalopodstudios.com;
  7. access_log /var/log/nginx/cephalopodstudios.com_access.log;
  8. error_log /var/log/nginx/cephalopodstudios.com_error.log;
  9. location / {
  10. # try_files $uri $uri/ =404;
  11. try_files $uri $uri/ /index.php?p=$request_uri;
  12. }
  13. location ~ \.php$ {
  14. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  15. fastcgi_pass unix:/run/php/php7.3-fpm.sock;
  16. fastcgi_index index.php;
  17. include fastcgi.conf;
  18. }
  19. }