Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. server {
  2. listen 80;
  3.  
  4. client_max_body_size 32m;
  5.  
  6. error_log /var/log/nginx/error.log;
  7. access_log /var/log/nginx/access.log;
  8.  
  9. root /var/www/html/public;
  10.  
  11. index index.php index.html;
  12.  
  13. location / {
  14. try_files $uri $uri/ /index.php?$query_string;
  15. }
  16.  
  17. location ~ \.php$ {
  18. include snippets/fastcgi-php.conf;
  19. fastcgi_pass unix:/run/php/php7.2-fpm.sock;
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement