Advertisement
JuniYadi96

ubuntu phpmyadmin.conf

May 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. server {
  2. listen 2018;
  3. root /var/www/phpmyadmin;
  4. index index.php index.html index.htm;
  5. server_name localhost; # localhost bisa kamu ganti dengan nama domain web kamu
  6. location / {
  7. try_files $uri $uri/ /index.php?$query_string;
  8. }
  9. location ~ \.php$ {
  10. try_files $uri =404;
  11. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  12. fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
  13. fastcgi_index index.php;
  14. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  15. include fastcgi_params;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement