-
Notifications
You must be signed in to change notification settings - Fork 3
Nginx Setup
sunrise-php edited this page Jan 7, 2019
·
2 revisions
For detailed documentation, refer to the official documentation
server {
listen 80;
server_name app.local;
root /var/www/app.local/public;
index index.php;
charset utf-8;
location / {
try_files $uri $uri/ /index.php?$args;
}
location /index.php {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
}
}
Have questions?
Ask your questions in our chat:
Get more features for your application using Awesome PSR-15 Middleware