Skip to content

Instantly share code, notes, and snippets.

@marianmirzacu
Last active July 16, 2019 20:49
Show Gist options
  • Save marianmirzacu/49470d7bc24e20505d7980e7e3c261f5 to your computer and use it in GitHub Desktop.
Save marianmirzacu/49470d7bc24e20505d7980e7e3c261f5 to your computer and use it in GitHub Desktop.
default nginx php7.3
server {
root /var/www/html;
index index.html index.php;
server_name localhost;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment