nginx wordpress login timeout

Discussion in 'ISPConfig 3 Priority Support' started by adrenalinic, Jul 15, 2015.

  1. adrenalinic

    adrenalinic Member

    anyone use wordpress with nginx under php-fpm with ispconfig,
    i have installed the wordpress but when try to login ti go in time out.

    Best regards.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, I run several wordpess sites on nginx, works without problems.

    Check the error.log of the website.
  3. inside83

    inside83 Member

    Put this:
    location / {
    try_files $uri $uri/ /index.php?$args;
    # Add trailing slash to */wp-admin requests.
    rewrite /wp-admin$ $scheme://$host$uri/ permanent;
    location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ {
    expires max;
    log_not_found off;
    2015-07-22 22_33_48-ISPConfig
  4. adrenalinic

    adrenalinic Member

    Hello! I see your post only now..
    Your code works very very nice!
    Thanks you very much!
    I will offer a beer somewhere! -:)

    Have a nice summer! :D
  5. inside83

    inside83 Member

    I'm glad it helped :)

Share This Page