Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter archmonk

    (@archmonk)

    It turned out that i needed to comment a few lines in the nginx config file in sites-enabled.

    server {
            listen   80; 
    
            root /var/www/;
            index index.php index.html index.htm;
    
            server_name example.com; 
    
            location / {
    had to comment :
    -> try_files $uri $uri/ /index.php;
    ->}
    ->    location ~ \.php$ {
    
            proxy_set_header X-Real-IP  $remote_addr;
            proxy_set_header X-Forwarded-For $remote_addr;
            proxy_set_header Host $host;
            proxy_pass http://127.0.0.1:8080;
    
             }
    
             location ~ /\.ht {
                    deny all;
            }
    }

Viewing 1 replies (of 1 total)