Jump to content

elliotrodgerjr

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by elliotrodgerjr

  1. See here for the nginx site configuration https://processwire.com/talk/topic/275-processwire-on-nginx/ Here someone ahs the same problem and manages to fix it, doesn't work for me though https://processwire.com/talk/topic/11083-nginx-deployment-in-subdirectory/
  2. Hi all. I have a successfully installed and running PW site on NGINX. It all went well and easy thanks to the hints and tricks in some thread. However even though I hits the frontpage nicely then any navigation to anything on the site returns a 404 - even the admin panel URL. I suspects that it does not properly pass the URL to processwire but is instead trying to move to a directory. Any ideas? edit: it works without subdirectories, this my config with subdirectory tryna to solve it. not work though root /var/www/test.test/html; index index.html index.php; server_name test.test access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; error_page 401 403 404 /404.html; # ----------------------------------------------------------------------------------------------- # This location processes all other requests. If the request is for a file or directory that # physically exists on the server, then load the file. Else give control to ProcessWire. # ----------------------------------------------------------------------------------------------- location / { try_files $uri $uri/ /index.php?it=$uri&$args; } location /pw { try_files $uri $uri/ /pw/index.php?it=$uri&$args; }
×
×
  • Create New...